diff --git a/www-arktika/email.php b/www-arktika/email.php index a93b65e..004aceb 100644 --- a/www-arktika/email.php +++ b/www-arktika/email.php @@ -9,10 +9,8 @@ require 'PHPMailer/PHPMailerAutoload.php'; function getContent($code){ // Читаем содержимое - $code = 'fdfdfdd'; $text = file_get_contents("list.php"); - // Переводим содержимое в видимую форму - $text = htmlspecialchars($text); + return str_replace("{code}", $code, $text); } -- libgit2 0.21.4