Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: configuration.pike,v 1.365 2000/09/09 05:07:12 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.366 2000/09/10 17:19:01 nilsson Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:2168:   // report_error(LOCALE->error_disabling_module(moduleinfo->get_name(),   // describe_backtrace(err)));    }       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_PARSER|MODULE_FIRST)) +  MODULE_FILTER|MODULE_TAG|MODULE_FIRST))    {    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.git/server/base_server/configuration.pike:2396:    moduleinfo->get_name(), (bt ? ":\n"+bt : "\n"));    got_no_delayed_load = -1;    }       if(module_type & MODULE_TYPES)    {    types_module = me;    types_fun = me->type_from_extension;    }    -  if(module_type & MODULE_PARSER) +  if(module_type & MODULE_TAG)    add_parse_module( me );          if(module_type & MODULE_AUTH)    {    auth_module = me;    auth_fun = me->auth;    }       if(module_type & MODULE_DIRECTORIES)
Roxen.git/server/base_server/configuration.pike:2538:    for(pr=0; pr<10; pr++)    m_delete(pri[pr]->provider_modules, me);    }       if(moduleinfo->type & MODULE_TYPES)    {    types_module = 0;    types_fun = 0;    }    -  if(moduleinfo->type & MODULE_PARSER) +  if(moduleinfo->type & MODULE_TAG)    remove_parse_module( me );       if( moduleinfo->type & MODULE_AUTH )    {    auth_module = 0;    auth_fun = 0;    }       if( moduleinfo->type & MODULE_DIRECTORIES )    dir_module = 0;