shimabox/screru

View on GitHub
bootstrap.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
// .env
use Dotenv\Dotenv;

if (file_exists(realpath(__DIR__ . '/.env'))) {
    $file = '.env';
} else {
    $file = '.env.default';
}

$env = new Dotenv(realpath(__DIR__), $file);
$env->load();