Delete global vars, better standarized things

This commit is contained in:
jkanetwork committed 2017-10-31 09:41:28 +01:00
1 parent 6b38aa6cf8
commit 0d3ee17bee
5 files changed
+84 -73

No files matched your search

+1 -1
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";