From 4114fa27dc47679774d1e73a5d78a0162c308742 Mon Sep 17 00:00:00 2001 From: snicker Date: Fri, 27 Dec 2013 20:00:46 -0800 Subject: [PATCH] Add support for setting the port in the connection --- class.growl.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/class.growl.php b/class.growl.php index a374029..1930f73 100644 --- a/class.growl.php +++ b/class.growl.php @@ -104,12 +104,14 @@ private function setConnectionData($connection) throw new Exception('Address Missing', 'Unable to send notification without ip address.'); } + $this->port = $connection['port']; $this->address = $connection['address']; $this->password = (!empty($connection['password'])) ? $connection['password'] : ''; } private function resetConnectionData() { + $this->port = 0; $this->address = null; $this->password = null; }