Merge "Fixed a path issue in NoLocalSettings"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 18 Feb 2015 23:03:38 +0000 (23:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 18 Feb 2015 23:03:38 +0000 (23:03 +0000)
includes/templates/NoLocalSettings.php

index 5b88dfd..824a315 100644 (file)
@@ -39,6 +39,7 @@ foreach ( array_filter( explode( '/', $_SERVER['PHP_SELF'] ) ) as $part ) {
                $path .= "$part/";
        } else {
                $ext = $matches[1] == 'php5' ? 'php5' : 'php';
+               break;
        }
 }