diff --git a/www/includes/edit_base.php b/www/includes/edit_base.php index fd2256d8..ad25a4c4 100644 --- a/www/includes/edit_base.php +++ b/www/includes/edit_base.php @@ -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);