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:
377bc40
)
Die horribly if a skin class doesn't exist. Will help skins builders.
author
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 19 Sep 2004 22:59:23 +0000
(22:59 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 19 Sep 2004 22:59:23 +0000
(22:59 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
82323a8
..
332c6fc
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-583,8
+583,9
@@
class User {
# Check if we got if not failback to default skin
$sn = 'Skin'.$sn;
if(!class_exists($sn)) {
- #FIXME : should we print an error message instead of loading
- # standard skin ?
+ # FIXME : should we print an error message instead of loading
+ # standard skin ? Let's die for now. [AV]
+ die("Class $sn doesn't exist in $IP/skins/$sn.php");
$sn = 'SkinStandard';
require_once( $IP.'/skins/Standard.php' );
}