summaryrefslogtreecommitdiff
path: root/skins/MySkin.deps.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2006-10-11 18:12:39 +0000
committerPierre Schmitz <pierre@archlinux.de>2006-10-11 18:12:39 +0000
commit183851b06bd6c52f3cae5375f433da720d410447 (patch)
treea477257decbf3360127f6739c2f9d0ec57a03d39 /skins/MySkin.deps.php
MediaWiki 1.7.1 wiederhergestellt
Diffstat (limited to 'skins/MySkin.deps.php')
-rw-r--r--skins/MySkin.deps.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/skins/MySkin.deps.php b/skins/MySkin.deps.php
new file mode 100644
index 00000000..ea0455f2
--- /dev/null
+++ b/skins/MySkin.deps.php
@@ -0,0 +1,10 @@
+<?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://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+
+require_once('includes/SkinTemplate.php');
+require_once('MonoBook.php');
+?> \ No newline at end of file