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.517 2002/06/05 10:50:46 anders Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.518 2002/06/06 08:37:05 anders 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:2656:    }    }    }       me->set_configuration( this_object() );       module_type = moduleinfo->type;    if (module_type & (MODULE_LOCATION|MODULE_EXTENSION|    MODULE_CONFIG|MODULE_FILE_EXTENSION|MODULE_LOGGER|    MODULE_URL|MODULE_LAST|MODULE_PROVIDER| -  MODULE_FILTER|MODULE_TAG|MODULE_FIRST)) +  MODULE_FILTER|MODULE_TAG|MODULE_FIRST| +  MODULE_USERDB))    {    if(module_type != MODULE_CONFIG)    {    if (err = catch {    me->defvar("_priority", 5, DLOCALE(12, "Priority"), TYPE_INT_LIST,    DLOCALE(13, "The priority of the module. 9 is highest and 0 is lowest."    " Modules with the same priority can be assumed to be "    "called in random order"),    ({0, 1, 2, 3, 4, 5, 6, 7, 8, 9}));    }) {    roxen->bootstrap_info->set (0);    throw(err);    }    }      #ifdef MODULE_LEVEL_SECURITY -  if( (module_type & ~(MODULE_LOGGER|MODULE_PROVIDER)) != 0 ) +  if( (module_type & ~(MODULE_LOGGER|MODULE_PROVIDER|MODULE_USERDB)) != 0 )    {   // me->defvar("_sec_group", "user", DLOCALE(14, "Security: Realm"),   // TYPE_STRING,   // DLOCALE(15, "The realm to use when requesting password from the "   // "client. Usually used as an informative message to the "   // "user."));       me->defvar("_seclevels", "", DLOCALE(16, "Security: Patterns"),    TYPE_TEXT_FIELD,    DLOCALE(245,