From 97f28b1115ccfdcbdab8e8709ba706c5aefe5a1c Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Wed, 01 Apr 2015 05:01:23 -0400 Subject: [PATCH] Fixed: FS#3854 - Missing secure and httponly attribute on PHP session cookie --- server/lib/classes/cron.d/100-monitor_disk_usage.inc.php | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php b/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php index 4f7f890..2af4041 100644 --- a/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php +++ b/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php @@ -73,8 +73,9 @@ //$dfData = shell_exec('df -hT 2>/dev/null'); $app->uses('getconf'); $web_config = $app->getconf->get_server_config($conf['server_id'], 'web'); - $dfData = shell_exec('df -hT|grep -v "'.$web_config['website_basedir'].'/" 2>/dev/null'); - + + $dfData = shell_exec('df -hT -x simfs | awk \'!x[$1]++\' 2>/dev/null'); + // split into array $df = explode("\n", $dfData); -- Gitblit v1.9.1