]> Raphaƫl G. Git Repositories - airlibre/blobdiff - bin/console
Ignore config secrets
[airlibre] / bin / console
index 11d197f7b86a94dc44f5c13e7f61a59bf666204d..24bff229c1b812b01d849b28600fdbb6eaaa0d84 100755 (executable)
@@ -1,9 +1,13 @@
-#!/usr/bin/env php
+#! /usr/bin/php
 <?php
 
 use App\Kernel;
 use Symfony\Bundle\FrameworkBundle\Console\Application;
 
+if (!is_dir(dirname(__DIR__).'/vendor')) {
+    throw new LogicException('Dependencies are missing. Try running "composer install".');
+}
+
 if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
     throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
 }