From 7a7551569a67ee4150f086acf30c6c59ecda6dcb Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 26 Nov 2010 20:03:23 +0000 Subject: Do not exec but use php_uname --- etc/inc/config.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/config.inc b/etc/inc/config.inc index a689faf..3b8cc3a 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -52,7 +52,7 @@ if($g['booting']) echo "."; // 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 = trim(`/usr/bin/uname -m`); + $ARCH = php_uname("m"); // Set memory limit to 256M on amd64. if($ARCH == "amd64") @@ -218,4 +218,4 @@ if($config_parsed == true) { } } -?> \ No newline at end of file +?> -- cgit v1.1