mirror of
https://github.com/operasoftware/ssh-key-authority.git
synced 2026-05-12 23:00:00 -05:00
Fix access of $config variable in error 500 page
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user