Roxen.git
/
server
/
base_server
/
mainconfig.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/mainconfig.pike:1:
inherit "config/builders";
-
string cvs_version = "$Id: mainconfig.pike,v 1.
77
1997/
08
/
24
02
:
26
:
01
peter
Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
78
1997/
09
/
07
16
:
40
:
13
grubba
Exp $";
//inherit "roxenlib"; inherit "config/draw_things"; import Array; import Stdio; string status_row(object node); string display_tabular_header(object node); object get_template(string t); /* Work-around for Simulate.perror */
Roxen.git/server/base_server/mainconfig.pike:1325:
if(!name) error("This module cannot be updated"); sscanf(name, "%s#%*s", modname); if(!(cmod = o->config()->modules[ modname ])) error("This module cannot be updated"); o->save(); cache_remove("modules", modname);
-
// Not
usefull
since load_module() also does it.
+
// Not
useful
since load_module() also does it.
// _master->set_inhibit_compile_errors(""); if(!o->config()->load_module(modname)) { mapping rep; rep = http_string_answer("The reload of this module failed.\n" "This is (probably) the reason:\n<pre>" + roxen->last_error + "</pre>" ); // _master->set_inhibit_compile_errors(0); return rep;