diff --git a/inc/lib/CMail.class.php b/inc/lib/CMail.class.php index 9ee2f64..63b38bd 100644 --- a/inc/lib/CMail.class.php +++ b/inc/lib/CMail.class.php @@ -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); }