Branch: Tag:

2000-03-20

2000-03-20 07:29:16 by Martin Stjernholm <mast@lysator.liu.se>

Did away with a little bit of unnecessary work in the pathinfo code.

Rev: server/etc/modules/Roxen.pmod:1.13

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.    *
717:    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) {