mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +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;
|
echo 'Command not supplied.' . PHP_EOL;
|
||||||
exit(1);
|
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;
|
echo 'Invalid command: ' . $command . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue