diff --git a/bin/json-flatten b/bin/json-flatten index 7790c96..5470551 100755 --- a/bin/json-flatten +++ b/bin/json-flatten @@ -3,7 +3,7 @@ namespace Leneko\Flattener; -require dirname(__DIR__, 1) . '/vendor/autoload.php'; +include $_composer_autoload_path ?? dirname(__DIR__, 1) . '/vendor/autoload.php'; use Silly\Application;