diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-01-24 22:12:31 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-01-24 22:12:31 +0100 |
commit | 8b11f0a58a912d14d497bf6f57f3a7c5844a3e9c (patch) | |
tree | c86feac963360d5070191f29cc277aa4b1807d59 | |
parent | 3886270d50b7bd02c35e0bf986f9122755ff9dbd (diff) | |
download | rpg-8b11f0a58a912d14d497bf6f57f3a7c5844a3e9c.tar.gz rpg-8b11f0a58a912d14d497bf6f57f3a7c5844a3e9c.tar.bz2 |
Probably fixes cookie loss on https/http switch FS#1174
darcs-hash:20080124211231-7ad00-5d9f8e834be5d7d3abc772ad7c956455258dad59.gz
-rw-r--r-- | inc/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php index 354c0f0a4..a1e18d2df 100644 --- a/inc/init.php +++ b/inc/init.php @@ -68,7 +68,7 @@ if(!defined('DOKU_TAB')) define ('DOKU_TAB',"\t"); // define cookie and session id - if (!defined('DOKU_COOKIE')) define('DOKU_COOKIE', 'DW'.md5(DOKU_URL)); + if (!defined('DOKU_COOKIE')) define('DOKU_COOKIE', 'DW'.md5(DOKU_REL)); // define Plugin dir if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |