OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
19
app/Domain/Errors/Controllers/Error403.php
Normal file
19
app/Domain/Errors/Controllers/Error403.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Domain\Errors\Controllers;
|
||||
|
||||
use Leantime\Core\Controller\Controller;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class Error403 extends Controller
|
||||
{
|
||||
/**
|
||||
* Displays the 403 Forbidden error page.
|
||||
*
|
||||
* @param array $params Request parameters
|
||||
*/
|
||||
public function get(array $params): Response
|
||||
{
|
||||
return $this->tpl->display('errors.error403', layout: 'error', responseCode: 403);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user