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:
+3
-2
@@ -38,7 +38,8 @@ include_once("../GameEngine/Admin/csrf.php");
|
||||
// ─── CORE INCLUDES ───────────────────────────────────────────────────────────
|
||||
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);
|
||||
include_once("../GameEngine/Admin/database.php");
|
||||
|
||||
// Helperul care descopera pachetele grafice din gpack/ (tz_available_gpacks).
|
||||
@@ -982,4 +983,4 @@ body.app #menu li.sub ul li a:hover{color:#d97706!important}
|
||||
</div><!-- #lmidall -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user