From: pdontthink Date: Sat, 4 Nov 2006 03:50:20 +0000 (+0000) Subject: Signout.php needed the error class to be loaded earlier. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5ab684a58d3cb9dfb373b0c2f056bdf24fabec40;p=squirrelmail.git Signout.php needed the error class to be loaded earlier. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11945 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/include/init.php b/include/init.php index 8be6cdad..0d42d40a 100644 --- a/include/init.php +++ b/include/init.php @@ -157,6 +157,7 @@ require(SM_PATH . 'functions/plugin.php'); require(SM_PATH . 'include/constants.php'); require(SM_PATH . 'include/languages.php'); require(SM_PATH . 'class/template/Template.class.php'); +require(SM_PATH . 'class/error.class.php'); /** * If magic_quotes_runtime is on, SquirrelMail breaks in new and creative ways. @@ -562,7 +563,6 @@ foreach ($always_include as $var) { /** * Initialize our custom error handler object */ -require(SM_PATH . 'class/error.class.php'); $oErrorHandler = new ErrorHandler($oTemplate,'error_message.tpl'); /**