From a316d7ae9bde62ea1c4c2772165ea49960b7ef52 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 4 Oct 2006 04:13:08 +0000 Subject: [PATCH] Fix for redirect.php --- includes/WebRequest.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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(); -- 2.20.1