r85738 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85737‎ | r85738 | r85739 >
Date:00:13, 10 April 2011
Author:platonides
Status:ok
Tags:
Comment:
Don't hardcode the location of the daddio skin.
Modified paths:
  • /trunk/extensions/skins/Daddio/Daddio.php (modified) (history)

Diff [purge]

Index: trunk/extensions/skins/Daddio/Daddio.php
@@ -1,5 +1,5 @@
22 <?php
33
44 $wgValidSkinNames['daddio'] = 'Daddio';
5 -$wgAutoloadClasses['SkinDaddio'] = "$IP/extensions/skins/Daddio/Daddio.class.php";
 5+$wgAutoloadClasses['SkinDaddio'] = dirname( __FILE__ ) . "/Daddio.class.php";
66

Status & tagging log