diff options
author | Urban Müller | 2017-05-03 12:44:44 +0200 |
---|---|---|
committer | Urban Müller | 2017-05-03 12:44:44 +0200 |
commit | 972605c453a80518e82dbce9da48b99f506336c5 (patch) | |
tree | ce23873c4e9aaa8fdef5b062f906947699d8196e | |
parent | f2c2eb24bfb7b9205d9c67449210d83308c1de78 (diff) | |
download | itools-972605c453a80518e82dbce9da48b99f506336c5.tar.gz itools-972605c453a80518e82dbce9da48b99f506336c5.tar.bz2 itools-972605c453a80518e82dbce9da48b99f506336c5.zip |
bin/alert lives in server/, suppress service
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,7 +230,7 @@ static function error($p = array()) if ($sendmail) # we're mailing: send maximum info { - $p['title'] = "Alert: " . it::replace(['\.[^:]*' => "", 'alert: ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")"; + $p['title'] = "Alert: " . it::replace(['\.[^:]*' => "", '(alert|server): ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")"; if (!$p['omitdebuginfo']) { |