add user_language to FHC_JS_DATA_STORAGE_OBJECT

This commit is contained in:
Harald Bamberger
2023-10-04 12:20:44 +02:00
parent cc7067d8e5
commit c1171bc716
+2 -1
View File
@@ -96,7 +96,8 @@ function generateJSDataStorageObject($indexPage, $calledPath, $calledMethod)
app_root: "'.APP_ROOT.'",
ci_router: "'.$indexPage.'",
called_path: "'.$calledPath.'",
called_method: "'.$calledMethod.'"
called_method: "'.$calledMethod.'",
user_language: "'.$user_language.'"
};';
$toPrint .= "\n";
$toPrint .= '</script>';