summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-01-01 19:43:22 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-01-01 19:43:22 +0100
commiteb00062b4e7aba506988433320827a435bfb9176 (patch)
tree0f99676255f945a8b72ef2546a11655376b5d388 /application
parent5ed1157fb8bc16dc4063441f96bacf21ee6b2e3f (diff)
Use temporary directory for testsuite uploads
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/config/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 8abf1ff6f..7aab610f3 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -646,3 +646,7 @@ if (file_exists(APPPATH.'config/config-local.php')) {
if (getenv("ENVIRONMENT") === "testsuite" && isset($_SERVER['SERVER_PORT'])) {
$config['base_url'] = 'http://127.0.0.1:'.$_SERVER['SERVER_PORT'].'/';
}
+
+if (getenv("ENVIRONMENT") === "testsuite") {
+ $config['upload_path'] = FCPATH.'testsuite-tmp';
+}