From 354a539b919439b2674a7d5dd886881cfad6557a Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Tue, 7 Dec 2021 14:09:27 +0300 Subject: [PATCH] fix --- 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 d6d8ee1..9ee2f64 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_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); }