give location for missing email files for better support

git-svn-id: file:///svn/phpbb/trunk@5868 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2006-04-30 12:57:37 +00:00
parent 9751cf71e9
commit 3826df9760

View file

@ -124,13 +124,13 @@ class messenger
if (!file_exists($tpl_file))
{
trigger_error("Could not find email template file [ $template_file ]", E_USER_ERROR);
trigger_error("Could not find email template file [ $tpl_file ]", E_USER_ERROR);
}
}
if (!($fd = @fopen($tpl_file, 'r')))
{
trigger_error("Failed opening template file [ $template_file ]", E_USER_ERROR);
trigger_error("Failed opening template file [ $tpl_file ]", E_USER_ERROR);
}
$this->tpl_msg[$template_lang . $template_file] = fread($fd, filesize($tpl_file));