call(); } else { $response = System\Response::prepare($response); } // ---------------------------------------------------------- // Execute the global "after" filter. // ---------------------------------------------------------- System\Route\Filter::call('after', array($response)); // ---------------------------------------------------------- // Stringify the response. // ---------------------------------------------------------- $response->content = (string) $response->content; // -------------------------------------------------------------- // Close the session. // -------------------------------------------------------------- if (System\Config::get('session.driver') != '') { System\Session::close(); } // -------------------------------------------------------------- // Send the response to the browser. // -------------------------------------------------------------- $response->send();