public function _action($action) { $controllers = ySitemapIndex::getInstance()->getControllers(); if (isset($controllers[$action])) { response::xml(); $this->runController($controllers[$action]); exit; } response::notFound(); }
/** * Deprecated * @param string $message */ protected function _show404($message = '') { response::notFound(); }
public function notFound() { response::notFound(); //$this->prepareShutdown(); }