source: tags/fc11-eol/locker/deploy/mediawiki-1.5.8/mediawiki-1.5.8.patch

Last change on this file was 452, checked in by quentin, 17 years ago
Make directories for each package
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.