diff --git a/core/Core.php b/core/Core.php index f0092119c..8eb5c28bc 100755 --- a/core/Core.php +++ b/core/Core.php @@ -34,9 +34,14 @@ function getTempFolder() { return $ssTmp; + +/** + * Define the temporary folder if it wasn't defined yet + */ +if(!defined('TEMP_FOLDER')) { + define('TEMP_FOLDER', getTempFolder()); } -define('TEMP_FOLDER', getTempFolder()); /** * Sapphire class autoloader. Requires the ManifestBuilder to work.