Ver código fonte

Correct error on logout

stevetruckstuff 19 anos atrás
pai
commit
9f17541ad2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/signout.php

+ 1 - 1
src/signout.php

@@ -65,7 +65,7 @@ if ( !isset($oTemplate) || !is_object($oTemplate) ) {
 }
 
 // The error handler object is probably also not initialized on a refresh
-require(SM_PATH . 'class/error.class.php');
+require_once(SM_PATH . 'class/error.class.php');
 $oErrorHandler = new ErrorHandler($oTemplate,'error_message.tpl');
 
 /* internal gettext functions will fail, if language is not set */