1
0
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:
camer0n
2025-04-13 07:20:58 -07:00
parent 135d46fa12
commit 07cfc9c23d

View File

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