Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:1:   inherit "config/builders"; - string cvs_version = "$Id: mainconfig.pike,v 1.83 1997/11/07 06:04:33 mirar Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.84 1997/12/13 16:40:05 grubba Exp $";   //inherit "roxenlib";   import Image;      inherit "config/draw_things";      import Array;   import Stdio;      string status_row(object node);   string display_tabular_header(object node);
Roxen.git/server/base_server/mainconfig.pike:793:    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";    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);