mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 15:52:17 +09:00
Allow comma as a separator for module action methods
This commit is contained in:
parent
289a249569
commit
f419353013
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ class ModuleActionParser extends BaseParser
|
|||
$method_attr = trim($action['method'] ?? '');
|
||||
if ($method_attr)
|
||||
{
|
||||
$methods = explode('|', strtoupper($method_attr));
|
||||
$methods = array_map('trim', preg_split('/[|,]/', strtoupper($method_attr)));
|
||||
}
|
||||
elseif ($action_type === 'controller' || starts_with('proc', $action_name))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue