src/ChickenWire/Controller.php
protected function show404() 
		{

			//@TODO Real implementation...
			Http::sendStatus(404);
			
			if (class_exists("\\Application\\Controllers\\ErrorController")) {

				$controller = new \Application\Controllers\ErrorController($this->request, false);
				$controller->show(404);

			} else {

				echo ("404 Page not found");

			}

			die;

		}
protected function show404() 
		{

			//@TODO Real implementation...
			Http::sendStatus(404);
			
			if (class_exists("\\Application\\Controllers\\ErrorController")) {

				$controller = new \Application\Controllers\ErrorController($this->request, false);
				$controller->show(404);

			} else {

				echo ("404 Page not found");

			}

			die;

		}
protected function show404 ( ) { //@TODO Real implementation... Http :: sendStatus ( 404 ) ; if ( class_exists ( "\\Application\\Controllers\\ErrorController" ) ) { $ controller = new \ Application \ Controllers \ ErrorController ( $ this -> request , false ) ; $ controller -> show ( 404 ) ; } else { echo ( "404 Page not found" ) ; } die ; }
Send a 404 error to the client
@return void
Send a 404 error to the client