From 6a9b99ad6ca64caa68af257c2249d144d7388be0 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 20 Feb 2009 13:56:57 +0000 Subject: [PATCH] * (bug 17437) Fixed incorrect link to web-based installer --- RELEASE-NOTES | 1 + includes/templates/NoLocalSettings.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f01e71ab40..f8d90810f0 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 diff --git a/includes/templates/NoLocalSettings.php b/includes/templates/NoLocalSettings.php index 6a566146de..42682d605d 100644 --- a/includes/templates/NoLocalSettings.php +++ b/includes/templates/NoLocalSettings.php @@ -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 -- 2.20.1