summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_config.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-16 11:26:44 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-16 11:26:44 -0500
commitc97a54f09c9b83b0bd20c533fcdd1b9ddbd274fe (patch)
treeb2dffb5b4489a9a1d8ffe4c270fa64cda0c2cbd7 /pts-core/functions/pts-functions_config.php
parent17d084517f7bd348fbafb1cadad22bdcfaf25a50 (diff)
downloadphoronix-test-suite-upstream-c97a54f09c9b83b0bd20c533fcdd1b9ddbd274fe.tar.gz
phoronix-test-suite-upstream-c97a54f09c9b83b0bd20c533fcdd1b9ddbd274fe.tar.xz
phoronix-test-suite-upstream-c97a54f09c9b83b0bd20c533fcdd1b9ddbd274fe.zip
pts-core: Add SearchMediaForCache option that's enabled by default in
user-config.xml to automatically search for download caches on removable devices (within /media/)
Diffstat (limited to 'pts-core/functions/pts-functions_config.php')
-rw-r--r--pts-core/functions/pts-functions_config.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_config.php b/pts-core/functions/pts-functions_config.php
index 42724aa..5fd564e 100644
--- a/pts-core/functions/pts-functions_config.php
+++ b/pts-core/functions/pts-functions_config.php
@@ -120,6 +120,7 @@ function pts_user_config_init($UserName = null, $UploadKey = null, $BatchOptions
$config->addXmlObject(P_OPTION_RESULTS_DIRECTORY, 1, pts_read_user_config(P_OPTION_RESULTS_DIRECTORY, "~/.phoronix-test-suite/test-results/", $read_config));
$config->addXmlObject(P_OPTION_TEST_ENVIRONMENT, 1, pts_read_user_config(P_OPTION_TEST_ENVIRONMENT, "~/.phoronix-test-suite/installed-tests/", $read_config));
$config->addXmlObject(P_OPTION_CACHE_DIRECTORY, 1, pts_read_user_config(P_OPTION_CACHE_DIRECTORY, "~/.phoronix-test-suite/download-cache/", $read_config));
+ $config->addXmlObject(P_OPTION_CACHE_SEARCHMEDIA, 1, pts_read_user_config(P_OPTION_CACHE_SEARCHMEDIA, "TRUE", $read_config));
$config->addXmlObject(P_OPTION_LOAD_MODULES, 2, pts_read_user_config(P_OPTION_LOAD_MODULES, "", $read_config));
$config->addXmlObject(P_OPTION_PROMPT_DOWNLOADLOC, 2, pts_read_user_config(P_OPTION_PROMPT_DOWNLOADLOC, "FALSE", $read_config));