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 - 2009, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.692 2010/03/26 16:31:10 marty Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.693 2010/03/30 11:41:23 grubba 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)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:3730:    report_error("disable_module(): " +    LOC_M(44, "Error while disabling module %s%s"),    descr, (bt ? ":\n"+bt : "\n"));    }    }    }       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_USERDB)) +  if (module_type & MODULE_TYPE_MASK)    { -  if(module_type != MODULE_CONFIG) +  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}));    }) {    throw(err);    }