# patch for cPanel 11.54 version --- /usr/local/cpanel/base/frontend/paper_lantern/home/statistics.html.tt +++ /usr/local/cpanel/base/frontend/paper_lantern/home/statistics.html.tt @@ -8,11 +8,11 @@ hasDiskUsageIncludeSQLdbs = CPANEL.CPCONF.disk_usage_include_sqldbs, hasDiskUsageIncludeMailman = CPANEL.CPCONF.disk_usage_include_mailman; - IF hasCloudLinux; + IF hasCloudLinux && !CPANEL.CPCONF.lve_hideuserstat; Api1.pre_exec("LVEInfo", "start"); Api1.exec("LVEInfo", "start", [undef]); Api1.post_exec("LVEInfo", "start"); - SET statsCloudLinux = execute( 'StatsBar', 'get_stats', { 'display' => 'lvecpu|lvemem|lvemep', 'infinitylang' => 'true', 'needshash' => 1 } ).data; + SET statsCloudLinux = execute( 'StatsBar', 'get_stats', { 'display' => 'lvecpu|lvemem|lvepmem|lvemep|lveiop|lveiops|lveproc|lvequota', 'infinitylang' => 'true', 'needshash' => 1 } ).data; END; IF hasPostGres; @@ -245,7 +245,7 @@ [% END %] - [% IF hasCloudLinux %] + [% IF hasCloudLinux && !CPANEL.CPCONF.lve_hideuserstat %]