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.109 1998/09/30 17:38:17 grubba Exp $"; + string cvs_version = "$Id: mainconfig.pike,v 1.110 1998/10/12 22:13:09 per 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:108:    node = node->next;    node_desc += ({ prevnode->describe() });    }    PUSH(node_desc*"\n");    PUSH("</dl>\n\n");    }    return res*"";    }       +  object module_object() +  { +  object node; +  node = this_object(); +  while(node) +  { +  if(node->type == NODE_MODULE_COPY || +  node->type == NODE_MODULE_MASTER_COPY) +  { +  if( objectp( node->data ) ) +  return node->data; +  return node->data->master; +  } +  if(node->type == NODE_CONFIGURATION) +  return node->data; +  node = node->up; +  } +  return roxen; +  } +     object config()    {    object node;    node=this_object();    while(node)    if(node->type == NODE_CONFIGURATION)    return node->data;    else    node=node->up;    }