From 8b11f0a58a912d14d497bf6f57f3a7c5844a3e9c Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Thu, 24 Jan 2008 22:12:31 +0100 Subject: [PATCH] Probably fixes cookie loss on https/http switch FS#1174 darcs-hash:20080124211231-7ad00-5d9f8e834be5d7d3abc772ad7c956455258dad59.gz --- inc/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/'); -- GitLab