Fixing the .env load (#643)

This commit is contained in:
Yury Pikhtarev 2023-03-20 14:15:03 +07:00 committed by GitHub
commit e5e325df85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -21,8 +21,7 @@ if (PHP_VERSION_ID < 70400) {
/** /**
* Define some basic configuration arrays * Define some basic configuration arrays
*/ */
unset($stopwords, $synonyms_match, $synonyms_replace); $userdata = $theme = $images = $lang = $bf = $attach_config = [];
$userdata = $theme = $images = $lang = $nav_links = $bf = $attach_config = [];
$gen_simple_header = false; $gen_simple_header = false;
$user = null; $user = null;

View file

@ -33,7 +33,7 @@ class Env
* *
* @var RepositoryInterface|null * @var RepositoryInterface|null
*/ */
protected static ?RepositoryInterface $repository; protected static $repository;
/** /**
* Enable the putenv adapter. * Enable the putenv adapter.