source:
locker/deploy/mediawiki-1.11.0/mediawiki-1.11.0.patch
@
463
Last change on this file since 463 was 452, checked in by quentin, 16 years ago | |
---|---|
File size: 1.4 KB |
-
AdminSettings.php
diff -Nur mediawiki-1.11.0.old/AdminSettings.php mediawiki-1.11.0/AdminSettings.php
old new 1 <?php 2 /** 3 * On scripts.mit.edu, the user's sole account can be used 4 * both for regular operation of the wiki and for any 5 * maintenance. Therefore, we just use the username and 6 * password already set in LocalSettings.php. 7 * 8 * @package MediaWiki 9 */ 10 11 $wgDBadminuser = $wgDBuser; 12 $wgDBadminpassword = $wgDBpassword; 13 14 /* 15 * Whether to enable the profileinfo.php script. 16 * (False is the default.) 17 */ 18 $wgEnableProfileInfo = false; 19 20 ?> -
includes/Setup.php
diff -Nur mediawiki-1.11.0.old/includes/Setup.php mediawiki-1.11.0/includes/Setup.php
old new 188 188 wfProfileIn( $fname.'-SetupSession' ); 189 189 190 190 if ( $wgDBprefix ) { 191 $wgCookiePrefix = $wgDBname . '_' . $wgDBprefix;191 $wgCookiePrefix = str_replace("+", "", $wgDBname . '_' . $wgDBprefix); 192 192 } elseif ( $wgSharedDB ) { 193 193 $wgCookiePrefix = $wgSharedDB; 194 194 } else { 195 $wgCookiePrefix = $wgDBname;195 $wgCookiePrefix = str_replace("+", "", $wgDBname); 196 196 } 197 197 $wgCookiePrefix = strtr($wgCookiePrefix, "=,; +.\"'\\[", "__________"); 198 198
Note: See TracBrowser
for help on using the repository browser.