diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-25 12:23:38 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-25 12:23:38 -0400 |
commit | 6caab7c08b15c39e27674be4d5f0d8d6bb3a0422 (patch) | |
tree | 177d06c977c8deb057878d2da2eaa0d7d3392758 /pts-core/functions/pts-init.php | |
parent | f3d4ea9e3c925a36fbdcf9c04979f8ed8ba43944 (diff) | |
download | phoronix-test-suite-upstream-6caab7c08b15c39e27674be4d5f0d8d6bb3a0422.tar.gz phoronix-test-suite-upstream-6caab7c08b15c39e27674be4d5f0d8d6bb3a0422.tar.xz phoronix-test-suite-upstream-6caab7c08b15c39e27674be4d5f0d8d6bb3a0422.zip |
pts-core: Fix for DEBUG_FILE not being detected
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 1e9fbf9..71bed29 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -55,7 +55,7 @@ function pts_init() define("PTS_START_TIME", THIS_RUN_TIME); // Run in debug mode? - if(getenv("DEBUG") == "1" || getenv("PTS_DEBUG") == "1" || ($debug_file = getenv("DEBUG_FILE")) != FALSE) + if(($debug_file = getenv("DEBUG_FILE")) != FALSE || getenv("DEBUG") == "1" || getenv("PTS_DEBUG") == "1") { define("PTS_DEBUG_MODE", 1); define("IS_DEBUG_MODE", true); |