Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5295
NoLocalSettings.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:25 PM
2014-11-21 22:25:19 (UTC+0)
Size
562 B
Referenced Files
None
Subscribers
None
NoLocalSettings.patch
View Options
--- mediawiki-1.14.0/includes/templates/NoLocalSettings.php 2009-02-10 18:50:01.000000000 +0100
+++ mediawiki-1.14.0/includes/templates/NoLocalSettings.php 2009-02-10 18:46:08.000000000 +0100
@@ -12,7 +12,7 @@
}
$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
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4856
Default Alt Text
NoLocalSettings.patch (562 B)
Attached To
Mode
T19437: Wrong set up URL
Attached
Detach File
Event Timeline
Log In to Comment