Use the new multi-lingual code on fusionpbx/app sub directories.

This commit is contained in:
Nate Jones
2015-01-18 10:04:43 +00:00
parent 8e7121b31e
commit 147d03169d
38 changed files with 81 additions and 156 deletions

View File

@@ -35,10 +35,8 @@ else {
}
//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();
//show the header
require_once "resources/header.php";