diff options
author | Minteck <contact@minteck.org> | 2022-05-22 18:16:34 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-05-22 18:16:34 +0200 |
commit | bc4d21ddbc50a4295ad1be0f4797b09895a65fea (patch) | |
tree | f915c08fba577daf766628657558ce480790b06f /includes/gui/language.php | |
download | multisocial-mane.tar.gz multisocial-mane.tar.bz2 multisocial-mane.zip |
Diffstat (limited to 'includes/gui/language.php')
-rw-r--r-- | includes/gui/language.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/gui/language.php b/includes/gui/language.php new file mode 100644 index 0000000..d64dc00 --- /dev/null +++ b/includes/gui/language.php @@ -0,0 +1,8 @@ +<?php + +// TODO: Proper language loader +global $lang; +$lang = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/i18n/en.json"), true); + +global $langp; +$langp = "en";
\ No newline at end of file |