Просмотр исходного кода

try to get connectiontest running

andre 2 лет назад
Родитель
Сommit
e92e930c07
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      api/class/KerioApiSocket.php

+ 9 - 0
api/class/KerioApiSocket.php

@@ -157,6 +157,15 @@ class KerioApiSocket implements KerioApiSocketInterface {
 	 */
 	public function send($data) {
 		if ($this->checkConnection()) {
+
+			logModuleCall(
+				'kerioEmail',
+				__FUNCTION__,
+				$data,
+				'Debug Kerio Api 1',
+				$this
+			);
+	
 			@fwrite($this->socketHandler, $data);
 			return $this->read();
 		}