Add the languages array

This commit is contained in:
Mark Crane
2014-05-13 06:09:28 +00:00
parent fcc586b591
commit 8de0d2a08f

View File

@@ -39,6 +39,9 @@ else {
//add multi-lingual support
require_once "app_languages.php";
foreach($text['button-save'] as $key => $value) {
$languages[$key] = '';
}
foreach($text as $key => $value) {
$text[$key] = $value[$_SESSION['domain']['language']['code']];
}