]> Raphaƫl G. Git Repositories - airlibre/blob - bin/console
Update shebang php path
[airlibre] / bin / console
1 #! /usr/bin/php
2 <?php
3
4 use App\Kernel;
5 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
7 if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
8 throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
9 }
10
11 //Remove time limit
12 set_time_limit(0);
13
14 require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
15
16 return function (array $context) {
17 $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
18
19 return new Application($kernel);
20 };