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:
-
/* $Id: module.pike,v 1.
77
2000/02/
09
20
:
18
:
04
nilsson
Exp $ */
+
/* $Id: module.pike,v 1.
78
2000/02/
10
03
:
33
:
29
mast
Exp $ */
#include <module.h> #include <request_trace.h> mapping (string:mixed *) variables=([]); RoxenModule this = this_object(); mapping(string:array(int)) error_log=([]); constant is_module = 1; constant module_type = MODULE_ZERO; constant module_name = "Unnamed module";
Roxen.git/server/base_server/module.pike:46:
from = replace(from, ({ "$", "Id: "," Exp $" }), ({"","",""})); sscanf(from, "%*s,v %s", from); return replace(from,"/","-"); } int module_dependencies(Configuration configuration, array (string) modules, int|void now) { if(configuration) configuration->add_modules( modules, now );
-
mixed err;
-
if (err = catch (_do_call_outs()))
-
report_error ("Error doing call outs:\n" + describe_backtrace (err));
+
//
Shouldn't
do call outs here, since things assume call outs aren't
+
// done until all modules are loaded. /mast
+
//
mixed err;
+
//
if (err = catch (_do_call_outs()))
+
//
report_error ("Error doing call outs:\n" + describe_backtrace (err));
return 1; } string file_name_and_stuff() { return ("<b>Loaded from:</b> "+(roxen->filename(this))+"<br>"+ (this->cvs_version? "<b>CVS Version: </b>"+ fix_cvs(this->cvs_version)+"\n":"")); }