mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX: Fixed TempPath inclusion for phpunit & cli-script
This commit is contained in:
parent
7fe183ab20
commit
e782648b3a
@ -173,7 +173,7 @@ define('ASSETS_PATH', BASE_PATH . '/' . ASSETS_DIR);
|
|||||||
/**
|
/**
|
||||||
* Define the temporary folder if it wasn't defined yet
|
* Define the temporary folder if it wasn't defined yet
|
||||||
*/
|
*/
|
||||||
require_once('core/TempPath.php');
|
require_once(dirname(__FILE__).'/TempPath.php');
|
||||||
if(!defined('TEMP_FOLDER')) {
|
if(!defined('TEMP_FOLDER')) {
|
||||||
define('TEMP_FOLDER', getTempFolder());
|
define('TEMP_FOLDER', getTempFolder());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user