2023-07-24 20:55:26 -04:00
|
|
|
<?php
|
|
|
|
$app = require_once implode(DIRECTORY_SEPARATOR, [
|
|
|
|
dirname(__FILE__, 2),
|
|
|
|
'setup',
|
|
|
|
'app.php'
|
|
|
|
]);
|
2023-07-28 16:22:20 -04:00
|
|
|
try {
|
|
|
|
$app->run();
|
|
|
|
} catch (Error $error) {
|
|
|
|
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->error($error);
|
2023-09-07 23:03:21 -03:00
|
|
|
header('Location: /construccion');
|
2023-07-28 16:22:20 -04:00
|
|
|
} catch (Exception $exception) {
|
|
|
|
$app->getContainer()->get(Psr\Log\LoggerInterface::class)->notice($exception);
|
2023-09-07 23:03:21 -03:00
|
|
|
header('Location: /construccion');
|
2023-07-28 16:22:20 -04:00
|
|
|
}
|