This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
drupal-tailwindcss-purgecss.../load.environment.php
2019-05-16 12:32:26 +01:00

21 lines
414 B
PHP

<?php
/**
* This file is included very early. See autoload.files in composer.json and
* https://getcomposer.org/doc/04-schema.md#files
*/
use Dotenv\Dotenv;
use Dotenv\Exception\InvalidPathException;
/**
* Load any .env file. See /.env.example.
*/
$dotenv = new Dotenv(__DIR__);
try {
$dotenv->load();
}
catch (InvalidPathException $e) {
// Do nothing. Production environments rarely use .env files.
}