| Last change
                  on this file since 472 was
                  452,
                  checked in by quentin, 18 years ago | 
        
          | Make directories for each package | 
        | File size:
            614 bytes | 
      
      
        
  | Rev | Line |  | 
|---|
| [451] | 1 | diff -uNr mediawiki-1.5.8/includes/Setup.php mw-scripts-158/includes/Setup.php | 
|---|
|  | 2 | --- includes/Setup.php  2006-02-11 02:26:47.000000000 -0500 | 
|---|
|  | 3 | +++ includes/Setup.php  2006-04-14 18:28:29.000000000 -0400 | 
|---|
|  | 4 | @@ -118,11 +118,11 @@ | 
|---|
|  | 5 | wfProfileIn( $fname.'-SetupSession' ); | 
|---|
|  | 6 |  | 
|---|
|  | 7 | if ( $wgDBprefix ) { | 
|---|
|  | 8 | -       $wgCookiePrefix = $wgDBname . '_' . $wgDBprefix; | 
|---|
|  | 9 | +       $wgCookiePrefix = str_replace("+", "", $wgDBname . '_' . $wgDBprefix); | 
|---|
|  | 10 | } elseif ( $wgSharedDB ) { | 
|---|
|  | 11 | $wgCookiePrefix = $wgSharedDB; | 
|---|
|  | 12 | } else { | 
|---|
|  | 13 | -       $wgCookiePrefix = $wgDBname; | 
|---|
|  | 14 | +       $wgCookiePrefix = str_replace("+", "", $wgDBname); | 
|---|
|  | 15 | } | 
|---|
|  | 16 |  | 
|---|
|  | 17 | session_name( $wgCookiePrefix . '_session' ); | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.