summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2013-01-26 17:18:14 +0000
committerAnika Henke <anika@selfthinker.org>2013-01-26 17:18:14 +0000
commitc18b2212cfd6c8b085b8f82e0a43fe052c5fb57f (patch)
treeb5ba200edbf813f1eb4efd3c6a39a3dc11f78fd6
parent3c94d07beba64154ecd707805fa87f2eaf5e4d02 (diff)
downloadrpg-c18b2212cfd6c8b085b8f82e0a43fe052c5fb57f.tar.gz
rpg-c18b2212cfd6c8b085b8f82e0a43fe052c5fb57f.tar.bz2
fixed setting cookie not working
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index c74010223..e436ec263 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1582,7 +1582,7 @@ function set_doku_pref($pref, $val) {
}
if (!empty($cookieVal)) {
- setcookie('DOKU_PREFS', $cookieVal, mktime('+1 year'), DOKU_BASE, '', ($conf['securecookie'] && is_ssl()));
+ setcookie('DOKU_PREFS', $cookieVal, strtotime('+1 year'), DOKU_BASE, '', ($conf['securecookie'] && is_ssl()));
}
}