1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-26 07:29:06 +02:00
alltube/index.php
Pierre Rudloff bc14b6e45c Don't redirect to REQUEST_URI when browsing to index.php
Instead, we can make sure everything works correctly on index.php
2022-02-20 13:28:57 +01:00

16 lines
221 B
PHP

<?php
require_once __DIR__ . '/vendor/autoload.php';
use Alltube\App;
use Alltube\ErrorHandler;
try {
// Create app.
$app = new App();
$app->run();
} catch (Throwable $e) {
ErrorHandler::handle($e);
}