summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageZh.deps.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/classes/LanguageZh.deps.php')
-rw-r--r--languages/classes/LanguageZh.deps.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/languages/classes/LanguageZh.deps.php b/languages/classes/LanguageZh.deps.php
new file mode 100644
index 00000000..1d736340
--- /dev/null
+++ b/languages/classes/LanguageZh.deps.php
@@ -0,0 +1,10 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// LanguageZh.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( dirname(__FILE__).'/LanguageZh_cn.php' );
+require_once( dirname(__FILE__).'/../LanguageConverter.php' );
+?>