summaryrefslogtreecommitdiffstats
path: root/skins/cavendish.deps.php
diff options
context:
space:
mode:
authorOliver Burger <obgr_seneca@mageia.org>2011-10-25 20:59:51 +0000
committerOliver Burger <obgr_seneca@mageia.org>2011-10-25 20:59:51 +0000
commit0ff582a4f48af9395009f0a4c611a51310454286 (patch)
tree0bd9e300d0c98b95296d319b1bf02a2669a20ae0 /skins/cavendish.deps.php
parent246b38834224f9575f7b22cf84428ff615cb5acd (diff)
downloadmediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar
mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar.gz
mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar.bz2
mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar.xz
mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.zip
import of original cavendish theme
Diffstat (limited to 'skins/cavendish.deps.php')
-rw-r--r--skins/cavendish.deps.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/skins/cavendish.deps.php b/skins/cavendish.deps.php
new file mode 100644
index 0000000..7a8c288
--- /dev/null
+++ b/skins/cavendish.deps.php
@@ -0,0 +1,11 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// MonoBook.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');