First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
12
system/Security/Exceptions/SecurityException.php
Normal file
12
system/Security/Exceptions/SecurityException.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user