From fe980540b9a1738837281c760f9a36d54bf0f4bd Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 17 Mar 2014 22:11:25 +1300 Subject: [PATCH] Revert TEMP_FOLDER change from ccc8dd061cd5 It obscures the fact that you're in a test session by hiding it away in system folders. Having it in assets/ is confusing enough if your webroot isn't writeable. /cc @wilr --- code/TestSessionEnvironment.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/TestSessionEnvironment.php b/code/TestSessionEnvironment.php index 17da234..99a6dca 100644 --- a/code/TestSessionEnvironment.php +++ b/code/TestSessionEnvironment.php @@ -72,10 +72,6 @@ class TestSessionEnvironment extends Object { $path = Director::getAbsFile($this->config()->test_state_file); } - if(!is_writable(dirname($path))) { - $path = str_replace(Director::baseFolder(), TEMP_FOLDER, $path); - } - return $path; }