<option name="cookie_prefix">
<categoryname>general.system.cookie</categoryname>
<optiontype>text</optiontype>
- <defaultvalue>wsc30_</defaultvalue>
+ <defaultvalue>wsc31_</defaultvalue>
<validationpattern>.+</validationpattern>
</option>
<!-- /general.system.cookie-->
}
// determine randomized cookie prefix
- $prefix = 'wsc30_';
+ $prefix = 'wsc31_';
if (!self::$developerMode) {
$cookieNames = array_keys($_COOKIE);
while (true) {
*/
define('LAST_UPDATE_TIME', TIME_NOW);
-$prefix = 'wsc30_';
+$prefix = 'wsc31_';
if (file_exists(WCF_DIR . 'cookiePrefix.txt')) {
+ // randomized cookie prefix during setup
$prefix = file_get_contents(WCF_DIR . 'cookiePrefix.txt');
}
define('COOKIE_PREFIX', $prefix);