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 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.509 2002/04/15 08:29:23 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.510 2002/04/15 16:29:53 wellhard 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:2449:   void save(int|void all)   //! Save this configuration. If all is included, save all configuration   //! global variables as well, otherwise only all module variables.   {    if(all)    {    store("spider#0", variables, 0, this_object());    start(2);    }    +  store( "EnabledModules", enabled_modules, 1, this_object());    foreach(indices(modules), string modname)    {    foreach(indices(modules[modname]->copies), int i)    {    store(modname+"#"+i, modules[modname]->copies[i]->query(), 0, 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));    }