diff --git a/f_config/config.php b/f_config/config.php index b9c09f2e..3a5442d7 100644 --- a/f_config/config.php +++ b/f_config/config.php @@ -96,6 +96,7 @@ function logError(string $err, string $errstr, string $errpath, array $trace) $fdb = FileDB::db(ROOT . '/d_log/err_log.sqlite3', ROOT . '/f_install/sql/err_log.sql'); $date = date("Ymd_His"); + $err = str_replace(ROOT, '{ROOT}', $errpath); $errpath = str_replace(ROOT, '{ROOT}', $errpath); $trace = array_map(function (string $text) { return str_replace(ROOT, '{ROOT}', $text);