summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-04-16 20:58:34 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-04-16 20:58:34 -0400
commitd80d5cb9c129669870a180929bf2bfdba003c33b (patch)
treee6f1f0d3b3c52b74b62bcf5dd722777a3ad9de58
parenta163f4410582fb26adb3f0150491a610b31333f5 (diff)
downloadphoronix-test-suite-upstream-d80d5cb9c129669870a180929bf2bfdba003c33b.tar.gz
phoronix-test-suite-upstream-d80d5cb9c129669870a180929bf2bfdba003c33b.tar.xz
phoronix-test-suite-upstream-d80d5cb9c129669870a180929bf2bfdba003c33b.zip
Fix for X Server detection when using pre-release RCs
-rw-r--r--pts-core/functions/pts-functions_linux.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_linux.php b/pts-core/functions/pts-functions_linux.php
index 2737591..c047baf 100644
--- a/pts-core/functions/pts-functions_linux.php
+++ b/pts-core/functions/pts-functions_linux.php
@@ -276,7 +276,7 @@ function graphics_subsystem_version()
else
{
$info = trim(substr($info, 0, $pos));
- $info = trim(substr($info, strrpos($info, " ")));
+ $info = trim(substr($info, strrpos($info, "Server") + 5));
}
return $info;