Load .env file

This commit is contained in:
Yassine Guedidi
2025-02-17 00:16:18 +01:00
parent 2db9ee2ba7
commit ad84d2b13b
6 changed files with 80 additions and 15 deletions

View File

@ -1,10 +1,13 @@
<?php
use Symfony\Component\Dotenv\Dotenv;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Process\Process;
require __DIR__ . '/../vendor/autoload.php';
(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env');
(new Filesystem())->remove(__DIR__ . '/../var/cache/test');
if (!isPartialRun()) {