Set base path for config file to load in edit_base.php

This commit is contained in:
Clemens Schwaighofer
2024-11-19 15:43:00 +09:00
parent 8de112ba7e
commit 529b6a75ba

View File

@@ -24,7 +24,7 @@
declare(strict_types=1);
ob_start();
require 'config.php'; /** @phpstan-ignore-line Is path, is symlinked */
require getcwd() . DIRECTORY_SEPARATOR . 'config.php';
// should be utf8
header("Content-type: text/html; charset=" . DEFAULT_ENCODING);