63,9 → 63,9 |
$translation_array = OIDplus::getTranslationArray(); |
$files[] = 'var language_messages = '.json_encode($translation_array).';'; |
|
//$tbl_prefix = OIDplus::baseConfig()->getValue('OIDPLUS_TABLENAME_PREFIX',''); |
//$tbl_prefix = OIDplus::baseConfig()->getValue('TABLENAME_PREFIX',''); |
//$files[] = 'var language_tblprefix = '.json_encode($tbl_prefix).';'; |
$files[] = 'var language_tblprefix = "<tableprefix>";'; // hide OIDPLUS_TABLENAME_PREFIX from the client |
$files[] = 'var language_tblprefix = "<tableprefix>";'; // hide TABLENAME_PREFIX from the client |
|
// The CSRF token is set by index.php |
// TODO: can there race-conditions if we set csrf_token here? Or should we set it as inline-script in index.php ? |