You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
320 B

  1. <?php
  2. use Symfony\Component\Dotenv\Dotenv;
  3. require dirname(__DIR__).'/vendor/autoload.php';
  4. if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
  5. require dirname(__DIR__).'/config/bootstrap.php';
  6. } elseif (method_exists(Dotenv::class, 'bootEnv')) {
  7. (new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
  8. }