- debug\n- webserver fonctionnel
This commit is contained in:
		| @@ -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