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:
a039f29
)
When running phpunit with globals backup, $skinsInitialised will be kept to true...
author
Platonides
<platonides@users.mediawiki.org>
Sun, 26 Dec 2010 22:24:55 +0000
(22:24 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sun, 26 Dec 2010 22:24:55 +0000
(22:24 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
7da81b4
..
fe57e5f
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-41,7
+41,7
@@
class Skin extends Linker {
global $wgValidSkinNames;
static $skinsInitialised = false;
- if ( !$skinsInitialised ) {
+ if ( !$skinsInitialised
|| !count( $wgValidSkinNames )
) {
# Get a list of available skins
# Build using the regular expression '^(.*).php$'
# Array keys are all lower case, array value keep the case used by filename