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