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:
e34f304
)
Fixed a path issue in NoLocalSettings
author
mgooley
<g0013y@gmail.com>
Wed, 4 Feb 2015 05:40:34 +0000
(23:40 -0600)
committer
Mgooley
<g0013y@gmail.com>
Mon, 9 Feb 2015 20:53:59 +0000
(20:53 +0000)
Added a break in the else statement, because
the only time it will go to else will be if
it hits a page (.php), in which case we don't
need to continue any further because we have
the full path needed to access resources.
(Image and link location)
Bug: T88168
Change-Id: If948b12bb09260d6ea119c3478b90225537b9786
includes/templates/NoLocalSettings.php
patch
|
blob
|
history
diff --git
a/includes/templates/NoLocalSettings.php
b/includes/templates/NoLocalSettings.php
index
5b88dfd
..
824a315
100644
(file)
--- a/
includes/templates/NoLocalSettings.php
+++ b/
includes/templates/NoLocalSettings.php
@@
-39,6
+39,7
@@
foreach ( array_filter( explode( '/', $_SERVER['PHP_SELF'] ) ) as $part ) {
$path .= "$part/";
} else {
$ext = $matches[1] == 'php5' ? 'php5' : 'php';
+ break;
}
}