mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
iremove ARCH warning in config.inc
This commit is contained in:
parent
d59b988e18
commit
809489f67b
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user