diff options
author | Ermal <eri@pfsense.org> | 2010-11-26 20:03:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-26 20:03:23 +0000 |
commit | 7a7551569a67ee4150f086acf30c6c59ecda6dcb (patch) | |
tree | 21aeea423df8ea5d55912f9d8ffa86071042d4ac /etc/inc | |
parent | cfa62e06c7bdec6ed5856c335fe47dabcbb22de4 (diff) | |
download | pfsense-7a7551569a67ee4150f086acf30c6c59ecda6dcb.zip pfsense-7a7551569a67ee4150f086acf30c6c59ecda6dcb.tar.gz |
Do not exec but use php_uname
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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 +?> |