From b468974b1627d50f469138d77152fef0cc917e82 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 17 Oct 2011 09:46:05 +0000 Subject: [PATCH] adding note to code snippet This small comment will avoid us using pathinfo() again and reimplement bug 30219. follow up r94171 --- includes/templates/NoLocalSettings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/templates/NoLocalSettings.php b/includes/templates/NoLocalSettings.php index facb616779..59284af09e 100644 --- a/includes/templates/NoLocalSettings.php +++ b/includes/templates/NoLocalSettings.php @@ -10,6 +10,7 @@ if ( !isset( $wgVersion ) ) { $wgVersion = 'VERSION'; } +# bug 30219 : can not use pathinfo() on URLs since slashes do not match $matches = array(); $ext = 'php'; $path = '/'; -- 2.20.1