diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-17 20:52:30 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-17 20:52:30 -0400 |
commit | 2ce14e2bde0f31b3e1054c95a6ba92bdb0fbaed8 (patch) | |
tree | 36a12a08ed434b0140f16ea5565294b10069478b /pts-core/functions/pts-init.php | |
parent | 47b24208daf6b0106a3b0604f2828c666da2157f (diff) | |
download | phoronix-test-suite-upstream-2ce14e2bde0f31b3e1054c95a6ba92bdb0fbaed8.tar.gz phoronix-test-suite-upstream-2ce14e2bde0f31b3e1054c95a6ba92bdb0fbaed8.tar.xz phoronix-test-suite-upstream-2ce14e2bde0f31b3e1054c95a6ba92bdb0fbaed8.zip |
pts-core: Switch to using php_uname() in pts-init.php
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r-- | pts-core/functions/pts-init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php index 1800fd7..bc30c4e 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -82,7 +82,7 @@ function pts_init() // Operating System Detection $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD", array("MacOSX", "Darwin")); - $uname_s = strtolower(trim(shell_exec("uname -s"))); + $uname_s = strtolower(php_uname("s")); foreach($supported_operating_systems as $os_check) { |