mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 05:11:00 +00:00
Centralize language loading with English fallback (#361)
This commit is contained in:
+3
-2
@@ -13,7 +13,8 @@ use App\Utils\AccessLogger;
|
||||
|
||||
include_once("GameEngine/config.php");
|
||||
include_once("GameEngine/Database.php");
|
||||
include_once("GameEngine/Lang/".LANG.".php");
|
||||
require_once __DIR__ . "/GameEngine/Lang/loader.php";
|
||||
tz_load_language(LANG);
|
||||
|
||||
AccessLogger::logRequest();
|
||||
?>
|
||||
@@ -183,4 +184,4 @@ AccessLogger::logRequest();
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user