diff options
author | Urban Müller | 2017-12-11 16:40:35 +0100 |
---|---|---|
committer | Urban Müller | 2017-12-11 16:40:35 +0100 |
commit | 8395a13bee7968c88f1ac977f1751cca2fa5029a (patch) | |
tree | d711de7108cfe915f1ca90ab7c4dc1c63c7f3349 /it.class | |
parent | c48bb86b0c70a52925029e6c1279c521d2b1f0ad (diff) | |
download | itools-8395a13bee7968c88f1ac977f1751cca2fa5029a.tar.gz itools-8395a13bee7968c88f1ac977f1751cca2fa5029a.tar.bz2 itools-8395a13bee7968c88f1ac977f1751cca2fa5029a.zip |
shorter error mail titles
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']) { |