mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 23:36:29 +02:00
Moved experimental e_ROUTE constant to registry.
This commit is contained in:
@@ -1343,11 +1343,12 @@ class news_front
|
||||
|
||||
header("HTTP/1.0 404 Not Found",true,404);
|
||||
require_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php");
|
||||
$text = e107::getMessage()->setTitle(LAN_ERROR_7, E_MESSAGE_INFO)->addInfo(LAN_NEWS_308)->render(); // Perhaps you're looking for one of the news items below?
|
||||
|
||||
$text = "<div class='news-view-error'>".e107::getMessage()->setTitle(LAN_ERROR_7, E_MESSAGE_INFO)->addInfo(LAN_NEWS_308)->render(); // Perhaps you're looking for one of the news items below?
|
||||
$text .= "</div>";
|
||||
$this->action = 'all';
|
||||
$text .= $this->renderListTemplate();
|
||||
|
||||
|
||||
return $text;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user