1
0

- debug\n- webserver fonctionnel

This commit is contained in:
2022-03-04 22:30:16 +01:00
parent a29aa9b653
commit 9d10e51a24
17 changed files with 273 additions and 128 deletions

View File

@ -9,7 +9,7 @@ class hook
// list of devices we are listening to
function __construct()
{
logger(DEBUG, _("Initializing hook: ") . $this->hookName);
logger(INFO, _("Initializing hook: ") . $this->hookName);
$this->installHooks();
if (method_exists($this, "init"))
{
@ -50,13 +50,13 @@ class hook
if ($result === true)
{
$this->initialized = true;
logger(DEBUG, $this->hookName . _(" initialized"), __FILE__ . ":" . __LINE__);
logger(INFO, $this->hookName . _(" initialized"), __FILE__ . ":" . __LINE__);
//var_dump($this);
}
}else
{
$this->initialized = true;
logger(DEBUG, $this->hookName . _("hook is disabled"), __FILE__ . ":" . __LINE__);
logger(INFO, $this->hookName . _("hook is disabled"), __FILE__ . ":" . __LINE__);
}
return $result;