mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 05:06:37 +00:00
5727f12b6f
Previously AzuraCast had two very similar `$settings` variables, one that was from environment and the other from the database. This refactor distinguishes the two much more clearly.
12 lines
265 B
PHP
Executable File
12 lines
265 B
PHP
Executable File
<?php
|
|
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
|
|
ini_set('display_errors', 1);
|
|
|
|
$autoloader = require dirname(__DIR__) . '/vendor/autoload.php';
|
|
|
|
$app = App\AppFactory::create($autoloader, [
|
|
App\Environment::BASE_DIR => dirname(__DIR__),
|
|
]);
|
|
|
|
$app->run();
|