1
0

debugging

This commit is contained in:
2022-01-29 19:58:01 +01:00
parent 425107cec7
commit 719a45fa4e
8 changed files with 41 additions and 29 deletions

View File

@@ -33,6 +33,7 @@ $logFh = null; // filehandle of log file
$curlErr = 0; // Number of errors returned by curl
$configDir = "./config"; // default config dir (production value is /etc/moha/)
$hooksInitialized = 0; // are all hooks initialized ? false/true
$flagHooks = false;
$mqttServerIp = "127.0.0.1"; // IP address of mqttserver in production mode
if ($testMode)
{
@@ -264,9 +265,10 @@ while (true)
}
}
$hooksInitialized = $i;
}else
}elseif($flagHooks === false)
{
logger(DEBUG,_("All hooks initialized"), __FILE__ . ":" . __LINE__);
logger(DEBUG, _("All hooks initialized"), __FILE__ . ":" . __LINE__);
$flagHooks = true;
}
checkEvents();
askWebServer($read);