iremove ARCH warning in config.inc

This commit is contained in:
Ad Schellevis 2015-04-14 09:13:00 +00:00
parent d59b988e18
commit 809489f67b

View File

@ -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");