Skip to content
Snippets Groups Projects
Select Git revision
  • 1ad43c0cd63d10652aff78d7858ed22c7b43a7dd
  • v10.4-0 default protected
  • renovate-major-all-dependencies
  • renovate-all-dependencies
  • drupal-migration-wordpress
  • dev10.3-13
  • v10.3-0 protected
  • view-form-date-fix protected
  • v10.2-0 protected
  • Drupal-validation-pipeline-update-10.2
  • bump-ds
  • pipeline-update-d10.2
  • bump-ctools
  • v10.1-1 protected
  • update_distro_10.2
  • christina_branch
  • fix-master-distribution
  • crdeoliv-v10.1-1-patch-91729
  • jyde-v10.1-1-patch-f7b9
  • jyde-v10.1-1-cern-dev-status
  • ci-4-tags
  • v10.1-1.0
22 results

load.environment.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    load.environment.php 391 B
    <?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();