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.
106
1998/07/
07
17
:
16
:
39
grubba Exp $";
+
string cvs_version = "$Id: mainconfig.pike,v 1.
107
1998/07/
11
18
:
48
:
30
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);
Roxen.git/server/base_server/mainconfig.pike:831:
if(check_config_name(name)) return 0; if((type = lower_case(arr[0])) == "copy") { string from; mapping tmp; if ((sizeof(arr) > 1) && (sscanf(arr[1..]*" ", "%*s'%s'", from) == 2) && (tmp = roxen->copy_configuration(from, name))) {
-
// FIXME: Should "../logs/" be hard-coded here?
-
tmp["spider#0"]->LogFile =
-
"../logs/"
+
roxenp()->short_name(name) + "/Log";
+
tmp["spider#0"]->LogFile =
GLOBVAR(logdirprefix)
+
"/"
+
+
roxenp()->short_name(name) + "/Log";
roxenp()->save_it(name); roxen->enable_configuration(name); } } else (template = get_template(type))->enable(roxen->enable_configuration(name)); confnode = root->descend("Configurations"); node=confnode->descend(name); node->describer = describe_configuration;