mirror of
https://github.com/e107inc/e107.git
synced 2025-07-24 08:22:07 +02:00
Issue #5465 language loading fix.
This commit is contained in:
@@ -1415,7 +1415,7 @@ class news_front
|
||||
{
|
||||
|
||||
header("HTTP/1.0 404 Not Found",true,404);
|
||||
require_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php");
|
||||
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_error.php");
|
||||
$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';
|
||||
|
Reference in New Issue
Block a user