* (bug 17437) Fixed incorrect link to web-based installer
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 20 Feb 2009 13:56:57 +0000 (13:56 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 20 Feb 2009 13:56:57 +0000 (13:56 +0000)
RELEASE-NOTES
includes/templates/NoLocalSettings.php

index f01e71a..f8d9081 100644 (file)
@@ -202,6 +202,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link.
 * (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot,
   changed to rc_timestamp_bot
+* (bug 17437) Fixed incorrect link to web-based installer
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index 6a56614..42682d6 100644 (file)
@@ -9,7 +9,7 @@ if ( !isset( $wgVersion ) ) {
 }
 
 $scriptName = $_SERVER['SCRIPT_NAME'];
-$ext = substr( $scriptName, strpos( $scriptName, "." ) + 1 );
+$ext = substr( $scriptName, strrpos( $scriptName, "." ) + 1 );
 $path = '';
 # Add any directories in the main folder that could contain an entrypoint (even possibly).
 # We cannot just do a dir listing here, as we do not know where it is yet