X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=skins%2FSimple.deps.php;h=99fadc6d75312686372eafbe754904653774d992;hb=671fe02c9eea3fd0cea2e627ce8d94c65ab8f99e;hp=71a411d9060d7e62820a2a474439df995439ab3e;hpb=b380b0a76aba653869d9d14933e1c21f88993a17;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/Simple.deps.php b/skins/Simple.deps.php index 71a411d906..99fadc6d75 100644 --- a/skins/Simple.deps.php +++ b/skins/Simple.deps.php @@ -3,7 +3,11 @@ // Simple.php is compiled, working around a bug in the APC opcode // cache on PHP 5, where cached code can break if the include order // changed on a subsequent page view. +// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html + +if ( ! defined( 'MEDIAWIKI' ) ) + die( 1 ); + +require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); +require_once( dirname(__FILE__) . '/MonoBook.php' ); -require_once('includes/SkinTemplate.php'); -require_once('MonoBook.php'); -?> \ No newline at end of file