Add Drupal application
This commit is contained in:
parent
c00b769d67
commit
4bb39011f3
261 changed files with 22997 additions and 0 deletions
drupal
20
drupal/load.environment.php
Normal file
20
drupal/load.environment.php
Normal 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.
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue