Initial commit with basic structure

This commit is contained in:
BackIsBachus committed 2017-09-17 08:09:11 +02:00
commit b0d0c4ebcc
26 files changed
+3587

No files matched your search

Executable
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env php
<?php
require_once __DIR__.'/../vendor/autoload.php';
set_time_limit(0);
use Symfony\Component\Console\Input\ArgvInput;
$input = new ArgvInput();
$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev');
$app = require __DIR__.'/../src/app.php';
require __DIR__.'/../config/'.$env.'.php';
$console = require __DIR__.'/../src/console.php';
$console->run();