From 79c06713cb819128bc0951535093a7b6092a88d5 Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Mon, 5 Dec 2022 11:40:39 +0300 Subject: [PATCH] - fix page title in setup --- src/setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setup.php b/src/setup.php index 49a3e66..828c3d5 100644 --- a/src/setup.php +++ b/src/setup.php @@ -27,7 +27,6 @@ require_once(MTTINC. 'class.dbconnection.php'); require_once(MTTINC. 'class.config.php'); require_once(MTTINC. 'version.php'); -$mttVersion = mytinytodo\Version::VERSION; $db = null; $ver = ''; $error = ''; @@ -42,7 +41,8 @@ $configExists = file_exists(MTTPATH. 'config.php'); $oldConfigExists = file_exists(MTTPATH. 'db/config.php'); -echo 'myTinyTodo $mttVersion Setup'; +$mttVersion = htmlspecialchars(mytinytodo\Version::VERSION); +echo "myTinyTodo $mttVersion Setup"; echo "myTinyTodo $mttVersion Setup

"; if (!$configExists && $oldConfigExists)