- debug\n- webserver fonctionnel
This commit is contained in:
1 parent
a29aa9b653
commit
9d10e51a24
17 files changed
+273
-128
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user