From: Brion Vibber Date: Sat, 8 May 2004 04:43:32 +0000 (+0000) Subject: Fix $wgLogo to new location, for standard and nostalgia skins X-Git-Tag: 1.3.0beta1~122 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=a6cfab96df86d18c9ab20759d1af23d8e30f74b3;p=lhc%2Fweb%2Fwiklou.git Fix $wgLogo to new location, for standard and nostalgia skins --- diff --git a/config/index.php b/config/index.php index 4a8251fb64..bd88567926 100644 --- a/config/index.php +++ b/config/index.php @@ -709,15 +709,15 @@ if ( \$wgCommandLineMode ) { {$pretty}\$wgArticlePath = \"\$wgScript/\$1\"; {$ugly}\$wgArticlePath = \"\$wgScript?title=\$1\"; -\$wgStylePath = \"\$wgScriptPath/stylesheets\"; -\$wgStyleSheetDirectory = \"\$IP/stylesheets\"; +\$wgStylePath = \"\$wgScriptPath/stylesheets\"; +\$wgStyleDirectory = \"\$IP/stylesheets\"; +\$wgLogo = \"\$wgStylePath/images/wiki.png\"; \$wgUploadPath = \"\$wgScriptPath/images\"; -\$wgUploadDirectory = \"\$IP/images\"; -\$wgLogo = \"\$wgUploadPath/wiki.png\"; +\$wgUploadDirectory = \"\$IP/images\"; \$wgEmergencyContact = \"{$conf->EmergencyContact}\"; -\$wgPasswordSender = \"{$conf->PasswordSender}\"; +\$wgPasswordSender = \"{$conf->PasswordSender}\"; \$wgDBserver = \"{$conf->DBserver}\"; \$wgDBname = \"{$conf->DBname}\"; diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 25636e75cb..8e0b269f45 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -34,8 +34,9 @@ $wgScript = "{$wgScriptPath}/index.php"; $wgRedirectScript = "{$wgScriptPath}/redirect.php"; $wgStylePath = "{$wgScriptPath}/style"; +$wgStyleDirectory = "{$IP}/style"; $wgStyleSheetPath = &$wgStylePath; -$wgStyleSheetDirectory = "{$IP}/style"; +$wgStyleSheetDirectory = &$wgStyleDirectory; $wgArticlePath = "{$wgScript}?title=$1"; $wgUploadPath = "{$wgScriptPath}/upload"; $wgUploadDirectory = "{$IP}/upload";