summaryrefslogtreecommitdiff
path: root/includes/gui/language.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-05-22 18:16:34 +0200
committerMinteck <contact@minteck.org>2022-05-22 18:16:34 +0200
commitbc4d21ddbc50a4295ad1be0f4797b09895a65fea (patch)
treef915c08fba577daf766628657558ce480790b06f /includes/gui/language.php
downloadmultisocial-mane.tar.gz
multisocial-mane.tar.bz2
multisocial-mane.zip
Initial commitHEADmane
Diffstat (limited to 'includes/gui/language.php')
-rw-r--r--includes/gui/language.php8
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