Files
remote_ip/app/public/index.php

14 lines
335 B
PHP
Raw Normal View History

2023-06-16 21:44:35 -04:00
<?php
$app = require_once implode(DIRECTORY_SEPARATOR, [
dirname(__FILE__, 2),
'setup',
'app.php'
]);
2023-06-18 19:20:06 -04:00
try {
$app->run();
} catch (Exception $e) {
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->warning($e);
} catch (Error $e) {
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->error($e);
}