Explorar o código

Signout.php needed the error class to be loaded earlier.

pdontthink %!s(int64=18) %!d(string=hai) anos
pai
achega
ff01b27d1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/init.php

+ 1 - 1
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');
 
 /**