FSN#37530 Logfiles niet meer ongeauthenticeerd kunnen opvragen
svn path=/Website/trunk/; revision=31864
This commit is contained in:
@@ -13,10 +13,10 @@
|
||||
*/ %>
|
||||
<%
|
||||
DOCTYPE_Disable = 1; // ook al volgt straks een response.Clear
|
||||
var EXPIRED_PASSWORD_OK = true; // triggert anders logging *na* clearlog
|
||||
var Logging_disable = 1; // Anders geeft *opvragen* van de logfile al logging
|
||||
|
||||
//if (Application("otap_environment") == "O")
|
||||
// ANONYMOUS_Allowed = 1;
|
||||
if (Application("otap_environment") == "O")
|
||||
ANONYMOUS_Allowed = 1;
|
||||
|
||||
%>
|
||||
<!-- #include file="../Shared/common.inc" -->
|
||||
|
||||
@@ -257,6 +257,8 @@ function __LogCloseLine(handle, s_extra, optionalColor)
|
||||
|
||||
function __DoLogCloseLine(handle, s_extra, optionalColor)
|
||||
{
|
||||
if (typeof Logging_disable != "undefined")
|
||||
return;
|
||||
try
|
||||
{
|
||||
theLogger.log_close(handle, s_extra?String(s_extra):null, optionalColor);
|
||||
@@ -325,6 +327,8 @@ function __DoLog(s, optionalColor, optionalCaller, leave_open)
|
||||
// Veronderstel dat s HTML-safe is
|
||||
function __SafeDoLog(s, optionalColor, optionalCaller, leave_open)
|
||||
{
|
||||
if (typeof Logging_disable != "undefined")
|
||||
return;
|
||||
try
|
||||
{
|
||||
return theLogger.log_tekst(String(s), optionalColor, __callerTekst(optionalCaller||__Log.caller), leave_open)
|
||||
|
||||
Reference in New Issue
Block a user