Index: trunk/phase3/includes/installer/Installer.php |
— | — | @@ -837,7 +837,7 @@ |
838 | 838 | return false; |
839 | 839 | } |
840 | 840 | |
841 | | - $uri = preg_replace( '{^(.*)/config.*$}', '$1', $path ); |
| 841 | + $uri = preg_replace( '{^(.*)/(mw-)?config.*$}', '$1', $path ); |
842 | 842 | $this->setVar( 'wgScriptPath', $uri ); |
843 | 843 | } |
844 | 844 | |