diff options
Diffstat (limited to 'etc/inc/notices.inc')
-rw-r--r-- | etc/inc/notices.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index 558a86e..4415987 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -344,6 +344,7 @@ function notify_via_smtp($message) { function notify_via_growl($message) { require_once("growl.class"); global $config; + $hostname = $config['system']['hostname'] . "." . $config['system']['domain']; $growl_ip = $config['notifications']['growl']['ipaddress']; $growl_password = $config['notifications']['growl']['password']; $growl_name = $config['notifications']['growl']['name']; @@ -351,7 +352,7 @@ function notify_via_growl($message) { if(!empty($growl_ip)) { $growl = new Growl($growl_ip, $growl_password, $growl_name); - $growl->notify("{$growl_notification}", "pfSense", "{$message}"); + $growl->notify("{$growl_notification}", "pfSense ($hostname) - Notification", "{$message}"); } } |