public function fileNotFound()
    {
        try {
            $this->header('404 Not Found');
            $this->header('Content-Type: text/html');
        } catch (\PHPDaemon\Request\RequestHeadersAlreadySent $e) {
        }
        $this->out('File not found.');
    }
public function fileNotFound()
    {
        try {
            $this->header('404 Not Found');
            $this->header('Content-Type: text/html');
        } catch (\PHPDaemon\Request\RequestHeadersAlreadySent $e) {
        }
        $this->out('File not found.');
    }
public function fileNotFound ( ) { try { $ this -> header ( '404 Not Found' ) ; $ this -> header ( 'Content-Type: text/html' ) ; } catch ( \ PHPDaemon \ Request \ RequestHeadersAlreadySent $ e ) { } $ this -> out ( 'File not found.' ) ; }
Send header 404 or, if not possible already, response "File not found"
Send header 404 or if not possible already response File not found