if(!class_exists(Dotenv::class)){thrownewLogicException('Please run "composer require symfony/dotenv" to load the ".env" files configuring the application.');
// Load cached env vars if the .env.local.php file exists// Run "composer dump-env prod" to create it (requires symfony/flex >=1.2)if(is_array($env=@includedirname(__DIR__).'/.env.local.php')&&(!isset($env['APP_ENV'])||($_SERVER['APP_ENV']??$_ENV['APP_ENV']??$env['APP_ENV'])===$env['APP_ENV'])){(newDotenv(false))->populate($env);}else{// load all the .env files(newDotenv(false))->loadEnv(dirname(__DIR__).'/.env');