|
@@ -86,7 +86,7 @@ class RegisterCprController
|
|
|
|
|
|
|
|
private function generateDynamicQrcode(): array
|
|
private function generateDynamicQrcode(): array
|
|
|
{
|
|
{
|
|
|
- $cliPath = dirname(__DIR__) . '/bin/genial-cli/genial-cli';
|
|
|
|
|
|
|
+ $cliPath = dirname(__DIR__) . '/bin/genial-cli';
|
|
|
if (!is_file($cliPath) || !is_executable($cliPath)) {
|
|
if (!is_file($cliPath) || !is_executable($cliPath)) {
|
|
|
throw new \RuntimeException('genial-cli executable not found or not executable');
|
|
throw new \RuntimeException('genial-cli executable not found or not executable');
|
|
|
}
|
|
}
|