mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 13:16:37 +00:00
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.
18 lines
346 B
PHP
18 lines
346 B
PHP
<?php
|
|
/**
|
|
* PHPStan Bootstrap File
|
|
*/
|
|
|
|
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__),
|
|
]);
|
|
|
|
$di = $app->getContainer();
|
|
|
|
App\Customization::initCli();
|