summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_config.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-07-03 14:59:28 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-03 11:49:18 -0400
commit9696ebdf3b352378bcf919b9fdb9728841144228 (patch)
treeefc038fb96c2bbb7f762c661e038cc7457c470e9 /pts-core/functions/pts-functions_config.php
parentc6951a34db6f9db88dbc12c64f8b128b5931507b (diff)
downloadphoronix-test-suite-upstream-9696ebdf3b352378bcf919b9fdb9728841144228.tar.gz
phoronix-test-suite-upstream-9696ebdf3b352378bcf919b9fdb9728841144228.tar.xz
phoronix-test-suite-upstream-9696ebdf3b352378bcf919b9fdb9728841144228.zip
Change DOWNLOAD_CACHE environmental variable to PTS_DOWNLOAD_CACHE for
manual override of the download cache location
Diffstat (limited to 'pts-core/functions/pts-functions_config.php')
-rw-r--r--pts-core/functions/pts-functions_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions_config.php b/pts-core/functions/pts-functions_config.php
index 6b9d2bb..0d082c0 100644
--- a/pts-core/functions/pts-functions_config.php
+++ b/pts-core/functions/pts-functions_config.php
@@ -234,7 +234,7 @@ function pts_current_user()
}
function pts_download_cache()
{
- $dir = getenv("DOWNLOAD_CACHE");
+ $dir = getenv("PTS_DOWNLOAD_CACHE");
if(empty($dir))
$dir = pts_read_user_config(P_OPTION_CACHE_DIRECTORY, "~/.phoronix-test-suite/download-cache/");