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
This commit is contained in:
Gabriel Filion 2021-02-25 16:43:32 -05:00
parent 3c83f33935
commit a4486fcf88
1 changed files with 1 additions and 0 deletions

View File

@ -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<count($classes);$i++) {