|
From: <rgr...@us...> - 2013-10-24 17:32:34
|
Revision: 12215
http://sourceforge.net/p/xoops/svn/12215
Author: rgriffith
Date: 2013-10-24 17:32:31 +0000 (Thu, 24 Oct 2013)
Log Message:
-----------
Change default value for usercookie config to match change in 2.6.0.
Adding a time stamp to the usercookie name makes it easier to install and test multiple versions of XOOPS on a single domain.
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php 2013-10-24 17:26:03 UTC (rev 12214)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php 2013-10-24 17:32:31 UTC (rev 12215)
@@ -162,7 +162,7 @@
$dbm->insert('config', " VALUES (7, 0, 1, 'theme_set', '_MD_AM_DTHEME', 'default', '_MD_AM_DTHEMEDSC', 'theme', 'other', 12)");
$dbm->insert('config', " VALUES (8, 0, 1, 'anonymous', '_MD_AM_ANONNAME', '" . addslashes(_INSTALL_ANON) . "', '_MD_AM_ANONNAMEDSC', 'textbox', 'text', 15)");
$dbm->insert('config', " VALUES (9, 0, 1, 'gzip_compression', '_MD_AM_USEGZIP', '0', '_MD_AM_USEGZIPDSC', 'yesno', 'int', 16)");
- $dbm->insert('config', " VALUES (10, 0, 1, 'usercookie', '_MD_AM_USERCOOKIE', 'xoops_user', '_MD_AM_USERCOOKIEDSC', 'textbox', 'text', 18)");
+ $dbm->insert('config', " VALUES (10, 0, 1, 'usercookie', '_MD_AM_USERCOOKIE', 'xoops_user" . dechex(time()) . "', '_MD_AM_USERCOOKIEDSC', 'textbox', 'text', 18)");
$dbm->insert('config', " VALUES (11, 0, 1, 'session_expire', '_MD_AM_SESSEXPIRE', '15', '_MD_AM_SESSEXPIREDSC', 'textbox', 'int', 22)");
$dbm->insert('config', " VALUES (12, 0, 1, 'banners', '_MD_AM_BANNERS', '1', '_MD_AM_BANNERSDSC', 'yesno', 'int', 26)");
$dbm->insert('config', " VALUES (13, 0, 1, 'debug_mode', '_MD_AM_DEBUGMODE', '0', '_MD_AM_DEBUGMODEDSC', 'select', 'int', 24)");
|