summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2017-12-11 16:40:35 +0100
committerUrban Müller2017-12-11 16:40:35 +0100
commit8395a13bee7968c88f1ac977f1751cca2fa5029a (patch)
treed711de7108cfe915f1ca90ab7c4dc1c63c7f3349
parentc48bb86b0c70a52925029e6c1279c521d2b1f0ad (diff)
downloaditools-8395a13bee7968c88f1ac977f1751cca2fa5029a.tar.gz
itools-8395a13bee7968c88f1ac977f1751cca2fa5029a.tar.bz2
itools-8395a13bee7968c88f1ac977f1751cca2fa5029a.zip
shorter error mail titles
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index cda7880..e54137e 100644
--- a/it.class
+++ b/it.class
@@ -244,7 +244,7 @@ static function error($p = array())
if ($sendmail) # we're mailing: send maximum info
{
- $p['title'] = it::replace(['alert:|server:|^: "' => "", '(pw|passw|password|secret)(=)[^&\s]*' => '$1$2*****'], $GLOBALS['ULTRASITE'] . ": " . $p['title']) . " (via " . getenv('HOSTNAME') . ")";
+ $p['title'] = it::replace(['alert:|server:|^: "' => "", '(pw|passw|password|secret)(=)[^&\s]*' => '$1$2*****'], it::match('[^.]*', $GLOBALS['ULTRASITE']) . ": " . $p['title']) . " (via " . getenv('HOSTNAME') . ")";
if (!$p['omitdebuginfo'])
{