13 lines
339 B
PHP
13 lines
339 B
PHP
<?php namespace CodeIgniter\Security\Exceptions;
|
|
|
|
use CodeIgniter\Exceptions\ExceptionInterface;
|
|
use CodeIgniter\Exceptions\FrameworkException;
|
|
|
|
class SecurityException extends FrameworkException implements ExceptionInterface
|
|
{
|
|
public static function forDisallowedAction()
|
|
{
|
|
return new static(lang('HTTP.disallowedAction'), 403);
|
|
}
|
|
}
|