mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix uppercase scripts not working as CLI command
This commit is contained in:
parent
5d78d114a7
commit
a4b49048f3
1 changed files with 1 additions and 1 deletions
|
|
@ -1242,7 +1242,7 @@ class ModuleHandler extends Handler
|
|||
echo 'Command not supplied.' . PHP_EOL;
|
||||
exit(1);
|
||||
}
|
||||
if (!preg_match('/^([a-z0-9_-]+)\.([a-z0-9_-]+)$/', $command, $matches))
|
||||
if (!preg_match('/^([a-z0-9_-]+)\.([a-z0-9_-]+)$/i', $command, $matches))
|
||||
{
|
||||
echo 'Invalid command: ' . $command . PHP_EOL;
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue