Set base path for config file to load in edit_base.php
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user