fixed .env path in init.php

This commit is contained in:
2026-04-16 16:14:43 +02:00
parent d2f2b577be
commit dec36d4053
3 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
<?php
// Reads Environment Configfile
$envFile = __DIR__ . '/.env';
$envFile = __DIR__ . '/../.env';
if (file_exists($envFile)) {
$lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
foreach ($lines as $line) {