From 4312b353dbb4b448d551975b63db9c95b3eef4f5 Mon Sep 17 00:00:00 2001 From: marwolaethblack Date: Wed, 22 Nov 2017 12:37:48 +0100 Subject: initial commit --- bin/console | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 bin/console (limited to 'bin/console') diff --git a/bin/console b/bin/console new file mode 100755 index 0000000..0629023 --- /dev/null +++ b/bin/console @@ -0,0 +1,27 @@ +#!/usr/bin/env php +getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev'); +$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(['--no-debug', '']) && $env !== 'prod'; + +if ($debug) { + Debug::enable(); +} + +$kernel = new AppKernel($env, $debug); +$application = new Application($kernel); +$application->run($input); -- cgit v1.2.3