function GET($path) { echo web::render("index.php"); }
/** * Load a page under a masked URL * @param string URL to mask * @return string * @access public */ function mask($location) { require_once 'HTTP/Request.php'; $req =& new HTTP_Request($location); if (!PEAR::isError($req->sendRequest())) { echo $req->getResponseBody(); } else { echo web::render('error.html'); } }