Roxen.git / server / base_server / module.pike

version» Context lines:

Roxen.git/server/base_server/module.pike:1:   #include <module.h>      mapping (string:mixed *) variables=([]);      object this = this_object(); -  + int module_type;   string fix_cvs(string from)   {    from = replace(from, ({ "$", "Id: "," Exp $" }), ({"","",""}));    sscanf(from, "%*s,v %s", from);    return from;   }      string file_name_and_stuff()   {    return ("<b>Loaded from:</b> "+(roxen->filename(this))+"<br>"+
Roxen.git/server/base_server/module.pike:271:    case "allowip":    patterns += ({ ({ MOD_ALLOW, Regexp(value)->match, }) });    break;       case "denyip":    patterns += ({ ({ MOD_DENY, Regexp(value)->match, }) });    break;       case "allowuser":    value = replace("("+(value/",")*")|("+")","(any)","(.*)"); +  if(this->proxy_auth_needed) +  patterns += ({ ({ MOD_PROXY_USER, Regexp(value)->match, }) }); +  else    patterns += ({ ({ MOD_USER, Regexp(value)->match, }) });    break;    }    }    }    return patterns;   }         mixed stat_file(string f, object id){}   mixed find_dir(string f, object id){}   mixed real_file(string f, object id){}    -  +