summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2017-05-02 14:25:01 +0200
committerUrban Müller2017-05-02 14:25:01 +0200
commitd5fd2c8b0270559ebe0d98e0b756aa9bd9913739 (patch)
treed632f6e70a747e85f92316d17af78eea67955a72 /it.class
parent1fcbcc10d2eaa05d1f2a0c9355832c46932bcff8 (diff)
downloaditools-d5fd2c8b0270559ebe0d98e0b756aa9bd9913739.tar.gz
itools-d5fd2c8b0270559ebe0d98e0b756aa9bd9913739.tar.bz2
itools-d5fd2c8b0270559ebe0d98e0b756aa9bd9913739.zip
indicate affected service if available
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 bb3ef83..357fcf5 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: " . $p['title'] . " (via " . getenv('HOSTNAME') . ")";
+ $p['title'] = "Alert: " . it::replace(['\.[^:]*' => "", 'alert: ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")";
if (!$p['omitdebuginfo'])
{