App
This commit is contained in:
12
app/bin/console.php
Normal file
12
app/bin/console.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$app = require_once implode(DIRECTORY_SEPARATOR, [
|
||||
dirname(__DIR__),
|
||||
'bootstrap',
|
||||
'app.php'
|
||||
]);
|
||||
try {
|
||||
$app->run();
|
||||
} catch (Exception $e) {
|
||||
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->error($e);
|
||||
exit(1);
|
||||
}
|
3
app/bin/manager
Normal file
3
app/bin/manager
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
php /app/bin/console.php $@
|
Reference in New Issue
Block a user