From a6cfab96df86d18c9ab20759d1af23d8e30f74b3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 8 May 2004 04:43:32 +0000 Subject: [PATCH] Fix $wgLogo to new location, for standard and nostalgia skins --- config/index.php | 10 +++++----- includes/DefaultSettings.php | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) 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"; -- 2.20.1