From a4486fcf886cee6baecbfc4a9af04b5a2d6cbcd2 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Thu, 25 Feb 2021 16:43:32 -0500 Subject: [PATCH] API: instantiate m_message for logging Without this global instance, nothing works during the bootstrap: all calls to log() crash because the instance does not exist. closes: #419 --- api/panel/bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/panel/bootstrap.php b/api/panel/bootstrap.php index 35125b66..d87786f0 100644 --- a/api/panel/bootstrap.php +++ b/api/panel/bootstrap.php @@ -72,6 +72,7 @@ $mem=new m_mem(); $err=new m_err(); $authip=new m_authip(); $hooks=new m_hooks(); +$msg = new m_messages(); for($i=0;$i