Pass the key for the skin being created to the constructor of a skin. This is just...
[lhc/web/wiklou.git] / includes / Skin.php
index da19a6b..10eba64 100644 (file)
@@ -156,7 +156,7 @@ abstract class Skin extends ContextSource {
                                }
                        }
                }
-               $skin = new $className;
+               $skin = new $className( $key );
                return $skin;
        }