Roxen.git / server / etc / modules / Roxen.pmod

version» Context lines:

Roxen.git/server/etc/modules/Roxen.pmod:1:   /* -  * $Id: Roxen.pmod,v 1.54 2000/12/04 22:41:16 nilsson Exp $ +  * $Id: Roxen.pmod,v 1.55 2000/12/04 22:45:04 nilsson Exp $    *    * Various helper functions.    *    * Henrik Grubbström 1999-05-03    */   #include <config.h>   #include <version.h>   #include <module.h>   inherit "roxenlib";   
Roxen.git/server/etc/modules/Roxen.pmod:840:    case "domain":    string tmp=c->id->conf->query("MyWorldLocation");    sscanf(tmp, "%*s//%s", tmp);    sscanf(tmp, "%s:", tmp);    sscanf(tmp, "%s/", tmp);    return tmp;    case "locale":    NOCACHE(c->id);    return roxenp()->locale->get();    case "path": -  return id->misc->site_path_prefix || ""; +  return c->id->misc->site_prefix_path || "";    default:    return RXML.nil;    }    :: `[] (var, c, scope);    }       array(string) _indices() {    return ({"uptime", "uptime-days", "uptime-hours", "uptime-minutes",    "hits-per-minute", "hits", "sent-mb", "sent",    "sent-per-minute", "sent-kbit-per-second", "ssl-strength",