Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1: - /* $Id: module.pike,v 1.56 1999/11/22 18:45:07 nilsson Exp $ */ + /* $Id: module.pike,v 1.57 1999/11/29 18:50:04 per Exp $ */   #include <module.h>   #include <request_trace.h>      mapping (string:mixed *) variables=([]);   object this = this_object();   mapping(string:array(int)) error_log=([]);      constant is_module = 1;   constant module_type = MODULE_PARSER;   constant module_name = "Unnamed module";
Roxen.git/server/base_server/module.pike:47:   }      string file_name_and_stuff()   {    return ("<b>Loaded from:</b> "+(roxen->filename(this))+"<br>"+    (this->cvs_version?    "<b>CVS Version: </b>"+    fix_cvs(this->cvs_version)+"\n":""));   }    - static private object _my_configuration; + static private Configuration _my_configuration;    - object my_configuration() + Configuration my_configuration()   {    if(_my_configuration)    return _my_configuration;    object conf;    foreach(roxen->configurations, conf)    if(conf->otomod[this])    return _my_configuration = conf;    return 0;   }