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.87 1997/12/15 20:06:19 peter Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.88 1997/12/17 22:55:48 peter 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:763:       varname=indices(id->variables)[0];       return new_module_copy(node, varname, id);   }      string ot;   object oT;   object get_template(string t)   { +  t-=".pike";    if(ot==t) return oT; ot=t; -  return (oT = compile_file("server_templates/"+t)()); +  return (oT = compile_file("server_templates/"+t+".pike")());   }      int check_config_name(string name)   {    if(strlen(name) && name[-1] == '~') name = "";    if(search(name, "/")!= -1) return 1;       foreach(roxen->configurations, object c)    if(lower_case(c->name) == lower_case(name))    return 1;