... so that it doesn't have to be adjusted for new versions.
<option name="cookie_prefix">
<categoryname>general.system.cookie</categoryname>
<optiontype>text</optiontype>
- <defaultvalue>wsc52_</defaultvalue>
+ <defaultvalue>wsc_</defaultvalue>
<validationpattern>^[a-zA-Z0-9_]+$</validationpattern>
</option>
<!-- /general.system.cookie-->
$useRandomCookiePrefix = false;
}
- $prefix = 'wsc52_';
+ $prefix = 'wsc_';
if ($useRandomCookiePrefix) {
$cookieNames = array_keys($_COOKIE);
while (true) {
*/
define('LAST_UPDATE_TIME', TIME_NOW);
-$prefix = 'wsc52_';
+$prefix = 'wsc_';
if (file_exists(WCF_DIR . 'cookiePrefix.txt')) {
// randomized cookie prefix during setup
$prefix = file_get_contents(WCF_DIR . 'cookiePrefix.txt');