helma/Application/redirectpublic.hac

11 lines
286 B
Text
Raw Normal View History

/**
* performs a redirect to the public site
* (workaround, we can't access application object from docapplication for some reason)
* @see application.url_macro
*/
if ( checkAddress()==false ) return;
if ( checkAuth(this)==false ) return;
res.redirect ( this.url_macro() );