source: locker/deploy/patches/mediawiki-1.5.8.patch @ 451

Last change on this file since 451 was 451, checked in by price, 17 years ago
put deploy patches in source control start with the mediawiki patches.
File size: 614 bytes
  • includes/Setup.php

    diff -uNr mediawiki-1.5.8/includes/Setup.php mw-scripts-158/includes/Setup.php
     
    118118wfProfileIn( $fname.'-SetupSession' );
    119119
    120120if ( $wgDBprefix ) {
    121         $wgCookiePrefix = $wgDBname . '_' . $wgDBprefix;
     121        $wgCookiePrefix = str_replace("+", "", $wgDBname . '_' . $wgDBprefix);
    122122} elseif ( $wgSharedDB ) {
    123123        $wgCookiePrefix = $wgSharedDB;
    124124} else {
    125         $wgCookiePrefix = $wgDBname;
     125        $wgCookiePrefix = str_replace("+", "", $wgDBname);
    126126}
    127127
    128128session_name( $wgCookiePrefix . '_session' );
Note: See TracBrowser for help on using the repository browser.