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.422 2001/03/12 14:05:02 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.423 2001/03/12 15:11:55 anders 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:2147:    {    store("spider#0", variables, 0, this_object());    start(2);    }       foreach(indices(modules), string modname)    {    foreach(indices(modules[modname]->copies), int i)    {    store(modname+"#"+i, modules[modname]->copies[i]->query(), 0, this_object()); -  catch(modules[modname]->copies[i]->start(2, this_object())); +  if (mixed err = catch(modules[modname]->copies[i]-> +  start(2, this_object()))) +  report_error("Error calling start in module.\n%s", +  describe_backtrace (err));    }    }    invalidate_cache();   }      int save_one( RoxenModule o )   //! Save all variables in a given module.   {    mapping mod;    if(!o)