FIX: Fixed TempPath inclusion for phpunit & cli-script

This commit is contained in:
Sam Minnee 2013-07-19 15:50:34 +12:00
parent 7fe183ab20
commit e782648b3a

View File

@ -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());
} }