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

15 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);
}