1
0
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:
Cameron
2021-11-01 15:46:39 -07:00
parent 7930aba4ca
commit 6d5b4f5c3a
6 changed files with 12 additions and 11 deletions

View File

@@ -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;
}