Use the new text class for multi-lingual support.

This commit is contained in:
Mark Crane 2015-01-18 07:42:57 +00:00
parent 53d377eeb2
commit c757e68cd1
1 changed files with 2 additions and 4 deletions

View File

@ -36,10 +36,8 @@ require_once "resources/require.php";
}
//add multi-lingual support
require_once "app_languages.php";
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}
$language = new text;
$text = $language->get();
//check duplicate mac address
if ($_GET["mac"] != '' && $_GET["mac"] != "000000000000") {