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.653 2008/08/15 12:33:53 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.654 2008/08/15 13:37:47 mast 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:4232:       if (!modules_already_enabled)    {    enabled_modules = retrieve("EnabledModules", this_object());   // roxenloader.LowErrorContainer ec = roxenloader.LowErrorContainer();   // roxenloader.push_compile_error_handler( ec );       array modules_to_process = indices( enabled_modules );    string tmp_string;    - #if 0 -  if (enabled_modules["sbtags_2.0#0"]) -  modules_to_process = -  ({"sbtags_2.0#0"}) + (modules_to_process - ({"sbtags_2.0#0"})); - #endif -  +     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 )))    {    report_error(LOC_M(45, "Failed to enable the module %s. Skipping.")    +"\n%s\n", tmp_string, describe_backtrace(err));