Fix access of $config variable in error 500 page

This commit is contained in:
Thomas Pike
2018-04-04 16:52:18 +02:00
parent ed5d40e99c
commit bee24b9b5c
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ if(isset($router->view)) {
// Handler for uncaught exceptions
function exception_handler($e) {
global $active_user;
global $active_user, $config;
$error_number = time();
error_log("$error_number: ".str_replace("\n", "\n$error_number: ", $e));
while(ob_get_length()) {