summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-merge.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-17 18:41:13 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-17 18:41:13 -0400
commit077c57859d2dbf597a4ed545c3eee82f0b588663 (patch)
tree3c2274253903f42295dcc8c97386ad152cf9fb90 /pts-core/functions/pts-functions-merge.php
parent45f17ed60ed55f54b8b75b14131778610717b28e (diff)
downloadphoronix-test-suite-upstream-077c57859d2dbf597a4ed545c3eee82f0b588663.tar.gz
phoronix-test-suite-upstream-077c57859d2dbf597a4ed545c3eee82f0b588663.tar.xz
phoronix-test-suite-upstream-077c57859d2dbf597a4ed545c3eee82f0b588663.zip
pts-core: Add validation to see if Global ID string format is valid
before querying server, and functionize some of the code
Diffstat (limited to 'pts-core/functions/pts-functions-merge.php')
-rw-r--r--pts-core/functions/pts-functions-merge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions-merge.php b/pts-core/functions/pts-functions-merge.php
index 6087bfd..22fcfef 100644
--- a/pts-core/functions/pts-functions-merge.php
+++ b/pts-core/functions/pts-functions-merge.php
@@ -27,7 +27,7 @@ function pts_find_file($file)
$USE_FILE = $file;
else if(is_file(SAVE_RESULTS_DIR . $file . "/composite.xml"))
$USE_FILE = SAVE_RESULTS_DIR . $file . "/composite.xml";
- else if(trim(@file_get_contents("http://www.phoronix-test-suite.com/global/profile-check.php?id=" . $file)) == "REMOTE_FILE")
+ else if(pts_is_global_id($TO_RUN))
$USE_FILE = "http://www.phoronix-test-suite.com/global/pts-results-viewer.php?id=" . $file;
else
{