diff --git a/src/etc/inc/config.inc b/src/etc/inc/config.inc index 8f34ec98c..6499c131e 100644 --- a/src/etc/inc/config.inc +++ b/src/etc/inc/config.inc @@ -31,14 +31,12 @@ // Set the memory limit to 128M on i386. When someone has something like 500+ tunnels // the parser needs quite a bit of ram. Do not remove this line unless you // know what you are doing. If in doubt, check with dev@ _/FIRST/_! -if(!$ARCH) - $ARCH = php_uname("m"); - // Set memory limit to 256M on amd64. -if($ARCH == "amd64") +if(php_uname("m") == "amd64") { ini_set("memory_limit","256M"); -else +} else { ini_set("memory_limit","128M"); +} /* include globals from notices.inc /utility/XML parser files */ require_once("notices.inc");