Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.500 2002/05/29 15:18:43 anders Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.501 2002/06/10 16:55:24 mast Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:994:    if (f)    return (["file":f, "type":"image/gif", "stat":f->stat(),]);    else    return 0;    // File not found.   }      private static int nest = 0;      #ifdef MODULE_LEVEL_SECURITY - private mapping misc_cache=([]); + private mapping misc_cache = set_weak_flag (([]), 1);      int|mapping check_security(function|RoxenModule a, RequestID id,    void|int slevel)   {    array seclevels;    // NOTE:    // ip_ok and auth_ok are three-state variables.    // Valid contents for them are:    // 0 Unknown state -- No such restriction encountered yet.    // 1 May be bad -- Restriction encountered, and test failed.