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.520 2002/06/11 09:59:11 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.521 2002/06/12 22:28:48 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)      // --- Locale defines --- - //<locale-token project="roxen_start"> LOC_S </locale-token> +    //<locale-token project="roxen_config"> LOC_C </locale-token>   //<locale-token project="roxen_message"> LOC_M </locale-token>   //<locale-token project="roxen_config"> DLOCALE </locale-token> - #define LOC_S(X,Y) _STR_LOCALE("roxen_start",X,Y) +    #define LOC_C(X,Y) _STR_LOCALE("roxen_config",X,Y)   #define LOC_M(X,Y) _STR_LOCALE("roxen_message",X,Y)   #define DLOCALE(X,Y) _DEF_LOCALE("roxen_config",X,Y)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG   #define THROTTLING_DEBUG(X) report_debug("Throttling: "+X+"\n")   #else   #define THROTTLING_DEBUG(X)   #endif
Roxen.git/server/base_server/configuration.pike:3281:    if( mixed w = catch( q(this_object()) ) ) {    report_error( "While calling after_init_hook %O:\n%s",    q, describe_backtrace( w ) );    got_no_delayed_load = -1;    }       after_init_hooks = ({});       inited = 1;    if (!modules_already_enabled) -  report_notice(LOC_S(4, "All modules for %s enabled in %3.1f seconds") + -  "\n\n", query_name(), (gethrtime()-start_time)/1000000.0); +  report_notice("All modules for %s enabled in %3.1f seconds\n\n", +  query_name(), (gethrtime()-start_time)/1000000.0);      #ifdef SNMP_AGENT    // Start trap after real virt.serv. loading    if(query("snmp_process") && objectp(roxen->snmpagent))    roxen->snmpagent->vs_start_trap(get_config_id());   #endif      }      DataCache datacache;