aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg/sarg.php
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-05-04 18:18:08 -0300
committermarcelloc <marcellocoutinho@gmail.com>2012-05-04 18:18:08 -0300
commit6d1ec508780b4aa302bb18a986b230a3f16c4b54 (patch)
treead25beee640276025057541eca8975e19f333026 /config/sarg/sarg.php
parent966c44e63d204906efaefebc66c9611f910486cb (diff)
downloadpfsense-packages-6d1ec508780b4aa302bb18a986b230a3f16c4b54.tar.gz
pfsense-packages-6d1ec508780b4aa302bb18a986b230a3f16c4b54.tar.bz2
pfsense-packages-6d1ec508780b4aa302bb18a986b230a3f16c4b54.zip
sarg - more fixes to squidguard reports and rotate
Diffstat (limited to 'config/sarg/sarg.php')
-rw-r--r--config/sarg/sarg.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/sarg/sarg.php b/config/sarg/sarg.php
index c2ec00c2..98e6c426 100644
--- a/config/sarg/sarg.php
+++ b/config/sarg/sarg.php
@@ -39,6 +39,10 @@ require_once("/etc/inc/pkg-utils.inc");
require_once("/etc/inc/globals.inc");
require_once("/usr/local/pkg/sarg.inc");
+$uname=posix_uname();
+if ($uname['machine']=='amd64')
+ ini_set('memory_limit', '250M');
+
if (preg_match ("/(\d+)/",$argv[1],$matches))
run_sarg($matches[1]);