mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
For backward compatibility, allow both GET and POST if an action does not specify method
This commit is contained in:
parent
9a70726be2
commit
73695ccdd2
1 changed files with 2 additions and 0 deletions
|
|
@ -101,10 +101,12 @@ class ModuleActionParser extends BaseParser
|
|||
{
|
||||
$methods = ['POST'];
|
||||
}
|
||||
/*
|
||||
elseif ($action_type === 'view' || starts_with('disp', $action_name))
|
||||
{
|
||||
$methods = ['GET'];
|
||||
}
|
||||
*/
|
||||
else
|
||||
{
|
||||
$methods = ['GET', 'POST'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue