projects
/
ldapsaisie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
247f4c6
)
core.php : define default timezone to fix php warning when using strftime() function
author
Benjamin Renard
<bn8@zionetrix.net>
Sun, 2 Sep 2012 17:54:33 +0000
(19:54 +0200)
committer
Benjamin Renard
<bn8@zionetrix.net>
Sun, 2 Sep 2012 17:54:33 +0000
(19:54 +0200)
public_html/core.php
patch
|
blob
|
history
diff --git
a/public_html/core.php
b/public_html/core.php
index
7ec5206
..
923fcea
100644
(file)
--- a/
public_html/core.php
+++ b/
public_html/core.php
@@
-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';