summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-init.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-17 20:52:30 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-17 20:52:30 -0400
commit2ce14e2bde0f31b3e1054c95a6ba92bdb0fbaed8 (patch)
tree36a12a08ed434b0140f16ea5565294b10069478b /pts-core/functions/pts-init.php
parent47b24208daf6b0106a3b0604f2828c666da2157f (diff)
downloadphoronix-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.php2
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)
{