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 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.647 2008/03/17 13:28:53 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.648 2008/03/19 14:04:39 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)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:4057:    "No module by that name: \"%s\".\n"), modname);    return 0;    }       me = module[id];    m_delete(module->copies, id);       if(!sizeof(module->copies))    m_delete( modules, modname );    +  if (moduleinfo->counter) { +  counters[moduleinfo->counter]--; +  } +     invalidate_cache();       if(!me)    {    report_error("disable_module(): " +    LOC_M(43, "Failed to disable module \"%s\".\n"),    descr);    return 0;    }   
Roxen.git/server/base_server/configuration.pike:4079:    string bt=describe_backtrace(err);    report_error("disable_module(): " +    LOC_M(44, "Error while disabling module %s%s"),    descr, (bt ? ":\n"+bt : "\n"));    }      #ifdef MODULE_DEBUG    report_debug("Disabling "+descr+"\n");   #endif    -  if (moduleinfo->counter) { -  counters[moduleinfo->counter]--; -  } -  +     clean_up_for_module( moduleinfo, me );       if( !nodest )    {    m_delete( enabled_modules, modname + "#" + id );    m_delete( forcibly_added, modname + "#" + id );    store( "EnabledModules",enabled_modules, 1, this_object());    destruct(me);    }    return 1;