Roxen.git
/
server
/
base_server
/
module.pike
version
»
Context lines:
10
20
40
80
file
none
3
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.
220
2005/
06
/
15
12
:
32
:
02
anders
Exp $
+
// $Id: module.pike,v 1.
221
2005/
10
/
05
14
:
47
:
49
mast
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
that
%s "
-
"
depend on
weren't added.", String.implode_nicely (modules),
-
module_identifier());
+
report_warning ("Configuration not resolved; module(s) %s%s "
+
"weren't added.",
+
String.implode_nicely (modules),
+
module_identifier()
?
+
" that " + module_identifier(
)
+ " depend on" : "")
;
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> "+