aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg
diff options
context:
space:
mode:
authormmoel <moeller@gmx.org>2014-05-19 08:31:12 +0200
committermmoel <moeller@gmx.org>2014-05-19 08:31:12 +0200
commit53c67d452e0487fccabc47fe22e58e389424a70f (patch)
treec6b539946e258ec549e3aa6da6fceb2a551672df /config/sarg
parentf2a1fd070eaab580768132d27bb41da9946e0a9a (diff)
downloadpfsense-packages-53c67d452e0487fccabc47fe22e58e389424a70f.tar.gz
pfsense-packages-53c67d452e0487fccabc47fe22e58e389424a70f.tar.bz2
pfsense-packages-53c67d452e0487fccabc47fe22e58e389424a70f.zip
Add --no-header to cron execution command
Without --no-header on every cron sarg execution, the php script outputs the line "Content-type: text/html". This will be emailed
Diffstat (limited to 'config/sarg')
-rw-r--r--config/sarg/sarg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 1a4db315..2788dab9 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -354,7 +354,7 @@ function sync_package_sarg() {
else
$new_cron['item'][]=$cron;
}
- $cron_cmd="/usr/local/bin/php /usr/local/www/sarg.php";
+ $cron_cmd="/usr/local/bin/php --no-header /usr/local/www/sarg.php";
$sarg_schedule_id=0;
if (is_array($config['installedpackages']['sargschedule']['config']))
foreach ($config['installedpackages']['sargschedule']['config'] as $sarg_schedule){