mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
core.php : define default timezone to fix php warning when using strftime() function
This commit is contained in:
parent
247f4c66e4
commit
d988b364b4
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ define('LS_TMP_DIR', 'tmp/');
|
||||||
define('LS_TEXT_DOMAIN', 'ldapsaisie');
|
define('LS_TEXT_DOMAIN', 'ldapsaisie');
|
||||||
define('LS_I18N_DIR', 'lang');
|
define('LS_I18N_DIR', 'lang');
|
||||||
|
|
||||||
|
// Timezone
|
||||||
|
date_default_timezone_set('UTC');
|
||||||
|
|
||||||
require_once LS_INCLUDE_DIR.'functions.php';
|
require_once LS_INCLUDE_DIR.'functions.php';
|
||||||
|
|
||||||
require_once LS_CLASS_DIR.'class.LSsession.php';
|
require_once LS_CLASS_DIR.'class.LSsession.php';
|
||||||
|
|
Loading…
Reference in a new issue