Archived
1
0
Fork 0
This repository has been archived on 2026-04-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
httpcb/app/controllers/ErrorController.php

18 lines
294 B
PHP

<?php
namespace App\Controller;
use App\Controller\ControllerBase;
class ErrorController extends ControllerBase
{
public function errorAction()
{
}
public function show404Action()
{
// Set status code to 404.
$this->response->setStatusCode(404);
}
}