Search update and optimization
This commit is contained in:
13
cli/bin/index.php
Normal file
13
cli/bin/index.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$app = require_once implode(DIRECTORY_SEPARATOR, [
|
||||
dirname(__FILE__, 2),
|
||||
'setup',
|
||||
'app.php'
|
||||
]);
|
||||
try {
|
||||
$app->run();
|
||||
} catch (Error $error) {
|
||||
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->error($error);
|
||||
} catch (Exception $exception) {
|
||||
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->notice($exception);
|
||||
}
|
Reference in New Issue
Block a user