mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Adjust some parts of Context class for better integration with Router
This commit is contained in:
parent
baddbd3cba
commit
a680f89326
3 changed files with 28 additions and 20 deletions
|
|
@ -211,7 +211,7 @@ class moduleModel extends module
|
|||
*/
|
||||
public static function getModuleInfoByMid($mid, $site_srl = 0, $columnList = array())
|
||||
{
|
||||
if(!$mid || ($mid && !preg_match("/^[a-z][a-z0-9_]+$/i", $mid)))
|
||||
if(!$mid || ($mid && !preg_match("/^[a-z][a-z0-9_-]+$/i", $mid)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue