Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ). In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var. Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
9 lines
453 B
PHP
9 lines
453 B
PHP
<?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://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
|
|
|
|
require_once( dirname(__FILE__).'/LanguageZh_hans.php' );
|
|
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
|