소스 검색

Correct error on logout

stevetruckstuff 19 년 전
부모
커밋
9f17541ad2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 */