mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Add 3 special exception classes for common situations
This commit is contained in:
parent
1863edcbb8
commit
fe4e336f2b
11 changed files with 82 additions and 25 deletions
|
|
@ -35,7 +35,7 @@ class adminAdminController extends admin
|
|||
$menuSrl = Context::get('menu_srl');
|
||||
if(!$menuSrl)
|
||||
{
|
||||
return $this->stop('msg_invalid_request');
|
||||
throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
}
|
||||
|
||||
$oMenuAdminController = getAdminController('menu');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue