Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS. - // $Id: module.pike,v 1.221 2005/10/05 14:47:49 mast Exp $ + // $Id: module.pike,v 1.222 2005/10/06 12:43:31 wellhard Exp $      #include <module_constants.h>   #include <module.h>   #include <request_trace.h>      constant __pragma_save_parent__ = 1;      inherit "basic_defvar";   mapping(string:array(int)) error_log=([]);   
Roxen.git/server/base_server/module.pike:117:   //! returns. In the latter case, the <config name> and <copy> parts   //! are ignored.   {    modules = map (modules,    lambda (string modname) {    sscanf ((modname / "/")[-1], "%[^#]", modname);    return modname;    });    Configuration conf = configuration || my_configuration();    if (!conf) -  report_warning ("Configuration not resolved; module(s) %s%s " -  "weren't added.", -  String.implode_nicely (modules), -  module_identifier() ? -  " that " + module_identifier() + " depend on" : ""); +  report_warning ("Configuration not resolved; module(s) %s that %O " +  "depend on weren't added.\n", String.implode_nicely (modules), +  module_identifier() || +  master()->describe_program(this_program) || +  "unknown module");    else    conf->add_modules( modules, now );    return 1;   }      string file_name_and_stuff()   {    return ("<b>Loaded from:</b> "+(roxen->filename(this_object()))+"<br>"+    (this_object()->cvs_version?    "<b>CVS Version:</b> "+