dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fdaf8d
)
Follow-up r82845: fix $wgScriptPath detection.
author
Max Semenik
<maxsem@users.mediawiki.org>
Sat, 26 Feb 2011 12:51:35 +0000
(12:51 +0000)
committer
Max Semenik
<maxsem@users.mediawiki.org>
Sat, 26 Feb 2011 12:51:35 +0000
(12:51 +0000)
includes/installer/Installer.php
patch
|
blob
|
history
diff --git
a/includes/installer/Installer.php
b/includes/installer/Installer.php
index
af21572
..
013ce6c
100644
(file)
--- a/
includes/installer/Installer.php
+++ b/
includes/installer/Installer.php
@@
-837,7
+837,7
@@
abstract class Installer {
return false;
}
- $uri = preg_replace( '{^(.*)/config.*$}', '$1', $path );
+ $uri = preg_replace( '{^(.*)/
(mw-)?
config.*$}', '$1', $path );
$this->setVar( 'wgScriptPath', $uri );
}