test Drupal site working on Koality Theme Builder
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.

21 lines
414B

  1. <?php
  2. /**
  3. * This file is included very early. See autoload.files in composer.json and
  4. * https://getcomposer.org/doc/04-schema.md#files
  5. */
  6. use Dotenv\Dotenv;
  7. use Dotenv\Exception\InvalidPathException;
  8. /**
  9. * Load any .env file. See /.env.example.
  10. */
  11. $dotenv = new Dotenv(__DIR__);
  12. try {
  13. $dotenv->load();
  14. }
  15. catch (InvalidPathException $e) {
  16. // Do nothing. Production environments rarely use .env files.
  17. }