We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1bf47f commit 34cbfdaCopy full SHA for 34cbfda
1 file changed
Main.php
@@ -86,8 +86,8 @@ protected function buildCliArguments(RouterInterface $router): void
86
/** @var array{argv:array<string>} $_SERVER */
87
$router->buildRouteForRequestUrl('CLI/index/index');
88
89
- $_SERVER['argv'][0] = str_replace(':', DIRECTORY_SEPARATOR, $_SERVER['argv'][0]);
90
- $path = 'CLI' . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, $_SERVER['argv']);
+ $_SERVER['argv'][0] = str_replace(':', '/', $_SERVER['argv'][0]);
+ $path = 'CLI' . '/' . implode('/', $_SERVER['argv']);
91
$router->buildCliArguments($path);
92
}
93
0 commit comments