Branch: Tag:

1997-08-31

1997-08-31 02:49:28 by Peter Bortas <zino@lysator.liu.se>

Added threadsafe=1

Rev: server/modules/tags/configtablist.pike:1.3
Rev: server/modules/tags/flik.pike:1.8
Rev: server/modules/tags/htmlparse.pike:1.40
Rev: server/modules/tags/indirect_href.pike:1.6
Rev: server/modules/tags/killframe.pike:1.8
Rev: server/modules/tags/lpctag.pike:1.8
Rev: server/modules/tags/obox.pike:1.4
Rev: server/modules/tags/sqltag.pike:1.5
Rev: server/modules/tags/tablify.pike:1.5

8:    * made by Peter Bortas <peter@infovav.se> Januari -97    */    - constant cvs_version = "$Id: killframe.pike,v 1.7 1997/08/27 12:37:13 grubba Exp $"; + constant cvs_version = "$Id: killframe.pike,v 1.8 1997/08/31 02:49:25 peter Exp $"; + constant thread_safe=1;   #include <module.h>   inherit "module";   
33:      string tag_killframe( string tag, mapping m, object id )   { -  // Links to index.html are ugly. +  /* Links to index.html are ugly. */    string my_url = id->conf->query("MyWorldLocation") + id->raw_url[1..];    int l=strlen(my_url);    -  if( my_url[l-10..] == "index.html" ) +  if( my_url[l-11..] == "/index.html" )    my_url = my_url[..l-11];       if (id->supports->javascript)
54:   {    return ([ "killframe" : tag_killframe ]);   } +  + int threadsafe(){ return 1; }