Skip to content

Commit 54af53b

Browse files
committed
argvs
1 parent 2a93a52 commit 54af53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/magics.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function ____intercepter____()
3636
{
3737
if (!is_cli()) { return; }
3838

39-
$command = trim($argv[1] ?? '', '/');
39+
$command = trim($_SERVER['argv'][1] ?? '', '/');
4040

4141
switch ($command)
4242
{

0 commit comments

Comments
 (0)