Skip to content

Commit

Permalink
There is no more info. That never worked.
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jul 29, 2023
1 parent 5f7a915 commit 7a546e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/functions.php
Expand Up @@ -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();
Expand Down

0 comments on commit 7a546e5

Please sign in to comment.