summaryrefslogtreecommitdiff
path: root/languages/LanguageNap.deps.php
diff options
context:
space:
mode:
Diffstat (limited to 'languages/LanguageNap.deps.php')
-rw-r--r--languages/LanguageNap.deps.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/languages/LanguageNap.deps.php b/languages/LanguageNap.deps.php
new file mode 100644
index 00000000..2ee99672
--- /dev/null
+++ b/languages/LanguageNap.deps.php
@@ -0,0 +1,9 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// LanguageNap.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( "LanguageIt.php" );
+?> \ No newline at end of file