Roxen.git / server / modules / misc / pathinfo.pike

version» Context lines:

Roxen.git/server/modules/misc/pathinfo.pike:1:   // This is a roxen module. Copyright © 1998 - 2004, Roxen IS.      #include <module.h>   inherit "module";    - constant cvs_version = "$Id: pathinfo.pike,v 1.20 2007/05/16 15:23:41 stewa Exp $"; + constant cvs_version = "$Id: pathinfo.pike,v 1.21 2007/05/16 16:26:17 jonasw Exp $";   constant thread_safe = 1;      #ifdef PATHINFO_DEBUG   # define PATHINFO_WERR(X) werror("PATHINFO: "+X+"\n");   #else   # define PATHINFO_WERR(X)   #endif      constant module_type = MODULE_LAST;   constant module_name = "Scripting: Path info support";
Roxen.git/server/modules/misc/pathinfo.pike:21:   In this case <tt>/index.html</tt> will be fetched, and the rest,   <tt>/a/b</tt> is made available in the RXML variable page.pathinfo.";      /* #define PATHINFO_LINEAR */      array pathlimit = ({ });      void create(Configuration c) {    defvar("pathlimit", ({ }), "Limit to paths",    TYPE_STRING_LIST, -  "If specified, path info support will only be active for patsh matching globs provided in this list."); +  "If specified, path info support will only be active for paths matching globs provided in this list.");   }      void start() {    pathlimit = query("pathlimit");   }      mapping|int last_resort(object id)   {    if(sizeof(pathlimit)) {    int found_match = 0;