Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1131 → Rev 1289

/trunk/oidplus.min.js.php
69,7 → 69,8
//$files[] = 'var language_tblprefix = '.json_encode($tbl_prefix).';';
$files[] = 'var language_tblprefix = "<tableprefix>";'; // hide TABLENAME_PREFIX from the client
 
$files[] = 'var oidplus_webpath = '.js_escape(OIDplus::webpath(null, OIDplus::PATH_RELATIVE_TO_ROOT)).';';
$files[] = 'var oidplus_webpath_relative = '.js_escape(OIDplus::webpath(null, OIDplus::PATH_RELATIVE_TO_ROOT)).';';
$files[] = 'var oidplus_webpath_absolute_canonical = '.js_escape(OIDplus::webpath(null, OIDplus::PATH_ABSOLUTE_CANONICAL)).';';
 
// 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 ?