Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Internet Server.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.532 2002/07/03 20:35:39 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.533 2002/07/08 11:06:36 nilsson 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)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG
Roxen.git/server/base_server/configuration.pike:2998:    modules[ moduleinfo->sname ] );   }      void clean_up_for_module( ModuleInfo moduleinfo,    RoxenModule me )   {    int pr;    if(moduleinfo->type & MODULE_FILE_EXTENSION)    {    string foo; -  for(pr=0; pr<10; pr++) +  for(pr=0; pr<10; pr++) {    mapping modules = pri[pr]->file_extension_modules;    foreach( modules; string m; array mods )    modules[m] = mods - ({me});    } -  +  }       if(moduleinfo->type & MODULE_PROVIDER) {    for(pr=0; pr<10; pr++)    m_delete(pri[pr]->provider_modules, me);    }       if(moduleinfo->type & MODULE_TYPES)    {    types_module = 0;    types_fun = 0;