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 6a160c9 commit e070ac4Copy full SHA for e070ac4
bin/isotool
@@ -6,7 +6,12 @@ declare(strict_types=1);
6
use PhpIso\Cli\IsoTool;
7
8
(static function () {
9
- require_once dirname(__FILE__, 2) . '/vendor/autoload.php';
+ foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
10
+ if (file_exists($file)) {
11
+ require $file;
12
+ break;
13
+ }
14
15
16
$application = new IsoTool();
17
$application->run();
0 commit comments