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

version» Context lines:

Roxen.git/server/etc/modules/Roxen.pmod:1:   /* -  * $Id: Roxen.pmod,v 1.12 2000/03/20 03:08:47 mast Exp $ +  * $Id: Roxen.pmod,v 1.13 2000/03/20 07:29:16 mast Exp $    *    * Various helper functions.    *    * Henrik Grubbström 1999-05-03    */      #include <config.h>   inherit "roxenlib";      /*
Roxen.git/server/etc/modules/Roxen.pmod:710:    if(in_defines[var])    return c->id->misc->defines[converter[var]]=val;    return c->id->misc->scope_page[var]=val;    }       array(string) _indices(void|RXML.Context c) {    if(!c) return ({});    array ind=indices(c->id->misc->scope_page);    foreach(indices(in_defines), string def)    if(c->id->misc->defines[converter[def]]) ind+=({def}); -  if (c->id->misc->path_info) ind += ({"pathinfo"}); -  return ind; +  return ind + ({"pathinfo"});    }       void m_delete (string var, void|RXML.Context c, void|string scope_name) {    if(!c) return;    switch (var) {    case "pathinfo":    predef::m_delete (c->id->misc, "pathinfo");    return;    }    if(in_defines[var]) {