Commit 809489f6 authored by Ad Schellevis's avatar Ad Schellevis

iremove ARCH warning in config.inc

parent d59b988e
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment