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