function handle_action() { $sm =& $this->_site_manager; $template =& $sm->get_template(); $um =& $sm->get_url_manager(); $dm =& $sm->get_dump_manager(); $action = $sm->execute_action(); $url = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; if ($action && !$um->isset_param('list_output')) { $dm->store_dump(md5($url)); HTTP_Session::pause(); header('Location: http://' . $url); exit; } }