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.635 2008/04/28 15:14:30 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.636 2008/12/08 13:38:33 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:4144:   {    if( inited )    return; // already done       int start_time = gethrtime();    if (!modules_already_enabled)    report_debug("\nEnabling all modules for "+query_name()+"... \n");       if (!modules_already_enabled)    { +  // Ugly kludge: We let enabled_modules lie about the set of currently +  // enabled modules during the init, so that +  // module_dependencies() doesn't perform duplicate work.    enabled_modules = retrieve("EnabledModules", this_object());   // roxenloader.LowErrorContainer ec = roxenloader.LowErrorContainer();   // roxenloader.push_compile_error_handler( ec );    -  array modules_to_process = indices( enabled_modules ); +  array modules_to_process = sort(indices( enabled_modules ));    string tmp_string;       mixed err;    forcibly_added = ([]);    enable_module_batch_msgs = 1;    foreach( modules_to_process, tmp_string )    {    if( !forcibly_added[ tmp_string ] )    if(err = catch( enable_module( tmp_string )))    {