فهرست منبع

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 */