forked from wallabag/wallabag
Load .env file
This commit is contained in:
@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user