Branch: Tag:

2000-08-29

2000-08-29 23:55:11 by Per Hedbor <ph@opera.com>

It is not a good idea to do this redirect if we are on the add module or create new configuration page, thus this nice little hack..

Rev: server/etc/modules/Variable.pmod/module.pmod:1.9

893:    }    if( do_goto )    { +  if( !id->misc->do_not_goto ) +  {    id->misc->moreheads = ([    "Location":id->raw_url+"?random="+random(4949494)+"#"+path(),    ]);    if( id->misc->defines )    id->misc->defines[ " _error" ] = 302;    } -  +  }    set( l ); // We are done. :-)    }