Use the new text class for multi-lingual support.
This commit is contained in:
@@ -36,10 +36,8 @@ require_once "resources/require.php";
|
|||||||
}
|
}
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
require_once "app_languages.php";
|
$language = new text;
|
||||||
foreach($text as $key => $value) {
|
$text = $language->get();
|
||||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
|
||||||
}
|
|
||||||
|
|
||||||
//check duplicate mac address
|
//check duplicate mac address
|
||||||
if ($_GET["mac"] != '' && $_GET["mac"] != "000000000000") {
|
if ($_GET["mac"] != '' && $_GET["mac"] != "000000000000") {
|
||||||
|
|||||||
Reference in New Issue
Block a user