mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-09 21:01:00 +00:00
Centralize language loading with English fallback (#361)
This commit is contained in:
@@ -24,7 +24,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();
|
||||
?>
|
||||
@@ -196,4 +197,4 @@ AccessLogger::logRequest();
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user