From: Tim Starling Date: Wed, 4 Oct 2006 04:13:08 +0000 (+0000) Subject: Fix for redirect.php X-Git-Tag: 1.31.0-rc.0~55634 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=a316d7ae9bde62ea1c4c2772165ea49960b7ef52;p=lhc%2Fweb%2Fwiklou.git Fix for redirect.php --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index d0ce25e668..32307ed2eb 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -34,6 +34,15 @@ * * @package MediaWiki */ + +/** + * Some entry points may use this file without first enabling the + * autoloader. + */ +if ( !function_exists( '__autoload' ) ) { + require_once( dirname(__FILE__) . '/normal/UtfNormal.php' ); +} + class WebRequest { function WebRequest() { $this->checkMagicQuotes();