Skip to content

Commit 824c3d7

Browse files
committed
Update console
1 parent f127b70 commit 824c3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
1111
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
1212

1313
return function (array $context) {
14-
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
14+
$kernel = new Kernel($context['APP_ENV'] ?? 'prod', (bool) $context['APP_DEBUG'] ?? false);
1515

1616
return new Application($kernel);
1717
};

0 commit comments

Comments
 (0)