fix
This commit is contained in:
1 parent
ffaf1839ba
commit
354a539b91
1 file changed
+1
-1
@@ -281,7 +281,7 @@ class CMail
|
||||
// Тема письма
|
||||
$subject = (empty($this->subject)) ? 'No subject' : $this->subject;
|
||||
|
||||
$body = file_get_contenst(__DIR__.'/../../assets/mail_template/'.$template.'.html');
|
||||
$body = file_get_contents(__DIR__.'/../../assets/mail_template/'.$template.'.html');
|
||||
foreach($this->arrTemplate as $templateKey => $templateValue){
|
||||
$body = str_replace('{'.$templateKey.'}', $templateValue, $body);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user