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:
@@ -21,7 +21,8 @@
|
||||
#################################################################################
|
||||
|
||||
include_once("config.php");
|
||||
include_once("Lang/" . LANG . ".php");
|
||||
require_once __DIR__ . "/Lang/loader.php";
|
||||
tz_load_language(LANG);
|
||||
|
||||
/**
|
||||
* Ensure input exists (avoid undefined variable issues)
|
||||
@@ -207,4 +208,4 @@ $bbcoded = preg_replace_callback(
|
||||
$bbcoded = preg_replace('/\[message\]/', '', $bbcoded);
|
||||
$bbcoded = preg_replace('/\[\/message\]/', '', $bbcoded);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user