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.636 2008/12/08 13:38:33 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.637 2008/12/08 13:39:58 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:4160:       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 ))) +  if(err = catch( enable_module( tmp_string, UNDEFINED, UNDEFINED, +  UNDEFINED, 1 )))    {    report_error(LOC_M(45, "Failed to enable the module %s. Skipping.")    +"\n%s\n", tmp_string, describe_backtrace(err));    got_no_delayed_load = -1;    }    }    enable_module_batch_msgs = 0;   // roxenloader.pop_compile_error_handler();    forcibly_added = ([]);    }