clean up 2011 files
[libreplanet-static.git] / 2011 / skins / MySkin.deps.php
diff --git a/2011/skins/MySkin.deps.php b/2011/skins/MySkin.deps.php
new file mode 100644 (file)
index 0000000..b589cc5
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// MySkin.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' );
+