diff options
Diffstat (limited to 'admin/WebConsole3/backend/app/console')
-rwxr-xr-x | admin/WebConsole3/backend/app/console | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/admin/WebConsole3/backend/app/console b/admin/WebConsole3/backend/app/console deleted file mode 100755 index 4e359c5a..00000000 --- a/admin/WebConsole3/backend/app/console +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env php -<?php - -use Symfony\Bundle\FrameworkBundle\Console\Application; -use Symfony\Component\Console\Input\ArgvInput; -use Symfony\Component\Debug\Debug; - -// if you don't want to setup permissions the proper way, just uncomment the following PHP line -// read http://symfony.com/doc/current/setup.html#checking-symfony-application-configuration-and-setup -// for more information -//umask(0000); - -set_time_limit(0); - -/** @var \Composer\Autoload\ClassLoader $loader */ -$loader = require __DIR__.'/autoload.php'; - -$input = new ArgvInput(); -$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev'); -$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(array('--no-debug', '')) && $env !== 'prod'; - -if ($debug) { - Debug::enable(); -} - -$kernel = new AppKernel($env, $debug); -$application = new Application($kernel); -$application->run($input); |