mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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:
parent
9751cf71e9
commit
3826df9760
1 changed files with 2 additions and 2 deletions
|
@ -124,13 +124,13 @@ class messenger
|
||||||
|
|
||||||
if (!file_exists($tpl_file))
|
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')))
|
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));
|
$this->tpl_msg[$template_lang . $template_file] = fread($fd, filesize($tpl_file));
|
||||||
|
|
Loading…
Add table
Reference in a new issue