Commit 9b956ec349520ed3921432c16353908cd780ae11
1 parent
2a5f9f58
123
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
www-arktika/email.php
@@ -9,10 +9,8 @@ require 'PHPMailer/PHPMailerAutoload.php'; | @@ -9,10 +9,8 @@ require 'PHPMailer/PHPMailerAutoload.php'; | ||
9 | 9 | ||
10 | function getContent($code){ | 10 | function getContent($code){ |
11 | // Читаем содержимое | 11 | // Читаем содержимое |
12 | - $code = 'fdfdfdd'; | ||
13 | $text = file_get_contents("list.php"); | 12 | $text = file_get_contents("list.php"); |
14 | - // Переводим содержимое в видимую форму | ||
15 | - $text = htmlspecialchars($text); | 13 | + |
16 | return str_replace("{code}", $code, $text); | 14 | return str_replace("{code}", $code, $text); |
17 | 15 | ||
18 | } | 16 | } |