dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980ed5d
)
Firefox interpretes links starting with // as if they would start with http://. If...
author
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 5 Sep 2010 21:54:01 +0000
(21:54 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Sun, 5 Sep 2010 21:54:01 +0000
(21:54 +0000)
includes/templates/NoLocalSettings.php
patch
|
blob
|
history
diff --git
a/includes/templates/NoLocalSettings.php
b/includes/templates/NoLocalSettings.php
index
21a6de2
..
88510cc
100644
(file)
--- a/
includes/templates/NoLocalSettings.php
+++ b/
includes/templates/NoLocalSettings.php
@@
-11,6
+11,7
@@
if ( !isset( $wgVersion ) ) {
}
$script = $_SERVER['SCRIPT_NAME'];
$path = pathinfo( $script, PATHINFO_DIRNAME ) . '/';
+$path = str_replace( '//', '/', $path );
$ext = pathinfo( $script, PATHINFO_EXTENSION );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">