mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-17 16:51:00 +00:00
Centralize language loading with English fallback (#361)
This commit is contained in:
+3
-2
@@ -17,7 +17,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();
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
@@ -219,4 +220,4 @@ Displaying battle reports or messages in public without consent of both concerne
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user