diff options
author | marcelloc <marcellocoutinho@gmail.com> | 2012-02-20 00:19:19 -0300 |
---|---|---|
committer | marcelloc <marcellocoutinho@gmail.com> | 2012-02-20 00:19:19 -0300 |
commit | aa2f86a2732608ecf539490c87e50632c69a326b (patch) | |
tree | beca3363f35e8d84f267ad8cebdf45409c680733 /config/pf-blocker/pfblocker.inc | |
parent | 3f62692c31084b72ab32b431c3fb96c902451b4f (diff) | |
download | pfsense-packages-aa2f86a2732608ecf539490c87e50632c69a326b.tar.gz pfsense-packages-aa2f86a2732608ecf539490c87e50632c69a326b.tar.bz2 pfsense-packages-aa2f86a2732608ecf539490c87e50632c69a326b.zip |
pfBlocker - include php memory limit set to 250Mb when amd64 is detected
Diffstat (limited to 'config/pf-blocker/pfblocker.inc')
-rwxr-xr-x | config/pf-blocker/pfblocker.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/pf-blocker/pfblocker.inc b/config/pf-blocker/pfblocker.inc index a5e6d880..57d73b57 100755 --- a/config/pf-blocker/pfblocker.inc +++ b/config/pf-blocker/pfblocker.inc @@ -36,6 +36,10 @@ require_once("globals.inc"); require_once("filter.inc"); require_once("services.inc"); +$uname=posix_uname(); +if ($uname['machine']=='amd64') + ini_set('memory_limit', '250M'); + function pfb_text_area_decode($text){ return preg_replace('/\r\n/', "\n",base64_decode($text)); } |