summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2017-05-03 12:44:44 +0200
committerUrban Müller2017-05-03 12:44:44 +0200
commit972605c453a80518e82dbce9da48b99f506336c5 (patch)
treece23873c4e9aaa8fdef5b062f906947699d8196e /it.class
parentf2c2eb24bfb7b9205d9c67449210d83308c1de78 (diff)
downloaditools-972605c453a80518e82dbce9da48b99f506336c5.tar.gz
itools-972605c453a80518e82dbce9da48b99f506336c5.tar.bz2
itools-972605c453a80518e82dbce9da48b99f506336c5.zip
bin/alert lives in server/, suppress service
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 357fcf5..5584075 100644
--- a/it.class
+++ b/it.class
@@ -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'])
{