From 7a546e5a41036b0e9e926d337c6f2e3c41c591d2 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 29 Jul 2023 07:26:03 +0200 Subject: [PATCH] There is no more info. That never worked. --- system/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/functions.php b/system/functions.php index 3a8836b5..9107491b 100644 --- a/system/functions.php +++ b/system/functions.php @@ -923,8 +923,8 @@ function load_config_lua($filename) $config_file = $filename; if(!@file_exists($config_file)) { - log_append('error.log', '[load_config_file] Fatal error: Cannot load config.lua (' . $filename . '). Error: ' . print_r(error_get_last(), true)); - throw new RuntimeException('ERROR: Cannot find ' . $filename . ' file. More info in system/logs/error.log'); + log_append('error.log', '[load_config_file] Fatal error: Cannot load config.lua (' . $filename . ').'); + throw new RuntimeException('ERROR: Cannot find ' . $filename . ' file.'); } $result = array();