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 1ac3ce0 commit 100af6eCopy full SHA for 100af6e
bin/console
@@ -12,7 +12,13 @@
12
13
declare(strict_types=1);
14
15
-require dirname(__DIR__).'/vendor/autoload.php';
+$autoload = dirname(__DIR__).'/vendor/autoload.php';
16
+
17
+if (!file_exists($autoload)) {
18
+ $autoload = dirname(__DIR__, 4).'/vendor/autoload.php';
19
+}
20
21
+require $autoload;
22
23
use Ahc\Cli\Application;
24
use Ixnode\PhpDateParser\Command\ParserCommand;
0 commit comments