diff --git a/main.php b/main.php index 6adb4b50b..004eaeb71 100644 --- a/main.php +++ b/main.php @@ -69,6 +69,20 @@ define('ASSETS_PATH', BASE_PATH . '/' . ASSETS_DIR); */ require_once("core/Core.php"); +/** + * Define the temporary folder if it wasn't defined yet + */ +if(!defined('TEMP_FOLDER')) { + define('TEMP_FOLDER', getTempFolder()); +} + +/** + * Priorities definition. These constants are used in calls to _t() as an optional argument + */ +define('PR_HIGH',100); +define('PR_MEDIUM',50); +define('PR_LOW',10); + header("Content-type: text/html; charset=\"utf-8\""); if (function_exists('mb_http_output')) { mb_http_output('UTF-8');