FSN#41016 FAC_LOCALE_XREF slimmer vullen voor API2

svn path=/Website/branches/v2017.1/; revision=34399
This commit is contained in:
Jos Groot Lipman
2017-06-22 11:29:47 +00:00
parent 85fff66ae8
commit c97539f961
2 changed files with 10 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ DOCTYPE_Disable = 1;
ANONYMOUS_Allowed = 1;
LOGIN_try = 1; // prevent recursion
NO_ADDHEADER = 1; // common.inc voert wat globale acties hierdoor niet meer uit
THIS_FILE = 'appl/shared/logintry.asp';
THIS_FILE = 'appl/aut/logintry.asp';
if (Response.Expires > 0)
FCLTEXPIRES = Response.Expires; // Aanroeper wist het beter?

View File

@@ -15,7 +15,15 @@ if (typeof THIS_FILE != "undefined")
lcl_path = THIS_FILE
else
{
var lcl_path = String(Request.ServerVariables("SCRIPT_NAME"));
var orgurl = Request.ServerVariables("HTTP_X_ORIGINAL_URL"); // Origineel van IIS Rewriter
if (orgurl.Count)
{
lcl_path = String(orgurl).split("?")[0];
lcl_path = lcl_path.replace(/\.[a-z]*$/i, ""); // extensie (format) er af
}
else
lcl_path = String(Request.ServerVariables("SCRIPT_NAME"));
// canonical maken
lcl_path = lcl_path.substring(rooturl.length + 1); // die er af
}