/** * Dispatches an static page * * @return void */ private function _dispatchStaticPage() { $file = $this->_router->getFile(); $file = "static" . DS . "{$file}"; $handle = fopen($file, "r"); $contents = fread($handle, filesize($filename)); fclose($handle); print $contents; }