BIG REFACTORING using composer create-project drupal-composer/drupal-project

This commit is contained in:
2019-01-28 17:05:29 +01:00
parent 17bb6e1dbc
commit 37689c3d4b
504 changed files with 1740 additions and 628 deletions

20
load.environment.php Normal file
View File

@@ -0,0 +1,20 @@
<?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.
}