From 8f04208c5a5b48fd4d0c36983950a944e07b479a Mon Sep 17 00:00:00 2001 From: Ryan <61072954+tensi0n519@users.noreply.github.com> Date: Mon, 22 Feb 2021 01:25:57 -0800 Subject: [PATCH] Switching off 'enabled' fixes issue 106 Not exactly sure what ;enabled; controls, but it seems to switch of some debug mode. I check the php-asmanager.php file but could not find what it does control. Fixes: #106 --- Sccp_manager.inc/aminterface/aminterface.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sccp_manager.inc/aminterface/aminterface.class.php b/Sccp_manager.inc/aminterface/aminterface.class.php index 4ad5f19..ee572d2 100644 --- a/Sccp_manager.inc/aminterface/aminterface.class.php +++ b/Sccp_manager.inc/aminterface/aminterface.class.php @@ -54,7 +54,7 @@ public function __construct($parent_class = null) $this->_socket = false; $this->_connect_state = false; $this->_error = array(); - $this->_config = array('host' => 'localhost', 'user' => '', 'pass' => '', 'port' => '5038', 'tsoket' => 'tcp://', 'timeout' => 30, 'enabled' => true); + $this->_config = array('host' => 'localhost', 'user' => '', 'pass' => '', 'port' => '5038', 'tsoket' => 'tcp://', 'timeout' => 30, 'enabled' => false); $this->_eventListeners = array(); // $this->_eventFactory = new EventFactoryImpl(\Logger::getLogger('EventFactory')); // $this->_responseFactory = new ResponseFactoryImpl(\Logger::getLogger('ResponseFactory'));