/** * 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() );