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.706 2010/11/10 14:23:05 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.707 2010/11/17 19:05:20 mast 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:3702:    master()->refresh( object_program( old_module ), 1 );    }       array old_error_log = (array) old_module->error_log;       RoxenModule nm;       // Load up a new instance.    nm = mi->instance( this_object(), 0, mod_copy);    // If this is a faked module, let's call it a failure. -  if( nm->not_a_module ) +  if (nm->module_is_disabled) +  report_notice (LOC_C(0, "Module is disabled") + "\n"); +  else if( nm->not_a_module )    {    old_module->report_error(LOC_C(385,"Reload failed")+"\n");    RXML.set_context (old_ctx);    return old_module;    }       disable_module( modname, nm );    destruct( old_module );       mixed err = catch {