From df9258417b0468ef6c1cecede4c8168362f0f5d2 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Tue, 7 Dec 2021 14:10:28 +0300 Subject: [PATCH] small fix dir --- inc/lib/CMail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }