drupal10/load.environment.php
Audrey Jensen 9ed18e9f52
Some checks are pending
CI / build (snapshot, beta, 8.1) (push) Waiting to run
CI / build (snapshot, beta, 8.2) (push) Waiting to run
CI / build (snapshot, dev, 8.1) (push) Waiting to run
CI / build (snapshot, dev, 8.2) (push) Waiting to run
CI / build (snapshot, stable, 8.1) (push) Waiting to run
CI / build (snapshot, stable, 8.2) (push) Waiting to run
CI / build (snapshot, stable, 8.3) (push) Waiting to run
CI / build (stable, beta, 8.1) (push) Waiting to run
CI / build (stable, beta, 8.2) (push) Waiting to run
CI / build (stable, dev, 8.1) (push) Waiting to run
CI / build (stable, dev, 8.2) (push) Waiting to run
CI / build (stable, stable, 8.1) (push) Waiting to run
CI / build (stable, stable, 8.2) (push) Waiting to run
CI / build (stable, stable, 8.3) (push) Waiting to run
CI / test-composer (push) Waiting to run
initial
2024-08-22 08:26:43 -05:00

18 lines
391 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;
/**
* Load any .env file. See /.env.example.
*
* Drupal has no official method for loading environment variables and uses
* getenv() in some places.
*/
$dotenv = Dotenv::createUnsafeImmutable(__DIR__);
$dotenv->safeLoad();