шаг 3 завершен
This commit is contained in:
@@ -26,3 +26,8 @@ function view(string $template, array $data = []): void
|
||||
{
|
||||
View::render($template, $data);
|
||||
}
|
||||
|
||||
function e(?string $value): string
|
||||
{
|
||||
return htmlspecialchars((string) $value, ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user