function redirect() { $path = $this->getURI(); NQ::close(); header('HTTP/1.1 303 See Other'); header("Location: {$path}"); Events::quit(); }
static function goBack() { $path = $_SERVER['SCRIPT_NAME'] . '?module=events&events_goback=true'; header('HTTP/1.1 303 See Other'); header("Location: {$path}"); Events::quit(); }