core.php : define default timezone to fix php warning when using strftime() function

This commit is contained in:
Benjamin Renard 2012-09-02 19:54:33 +02:00
parent 247f4c66e4
commit d988b364b4

View file

@ -39,6 +39,9 @@ define('LS_TMP_DIR', 'tmp/');
define('LS_TEXT_DOMAIN', 'ldapsaisie');
define('LS_I18N_DIR', 'lang');
// Timezone
date_default_timezone_set('UTC');
require_once LS_INCLUDE_DIR.'functions.php';
require_once LS_CLASS_DIR.'class.LSsession.php';