1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-02-22 04:54:06 +01:00

Delete global vars, better standarized things

This commit is contained in:
2017-10-31 09:41:28 +01:00
parent 6b38aa6cf8
commit 0d3ee17bee
5 changed files with 84 additions and 73 deletions

View File

@@ -25,7 +25,7 @@ if (isset($_COOKIE['SessionID'])){
}
$lang=getSystemOpt('lang');
$lang=getSystemOpt($db_conn,'lang');
//Translations
require_once __DIR__."/assets/translations/en.php"; //Ever first English, and then your lang (Database)
require_once __DIR__."/assets/translations/$lang.php";