From bb567a25e8f6637d0ddbc595a57f16d5119cd000 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Sun, 3 Dec 2023 14:48:36 +0530 Subject: [PATCH] (refactor): changed connection file path for better security and to fix search results not showing issue --- htdocs/core/connection.php => connection.php | 7 +++++-- db_info.php | 7 ------- htdocs/blog.php | 2 +- htdocs/contact.php | 2 +- htdocs/core/handle_search.php | 2 +- htdocs/home.php | 2 +- htdocs/projects.php | 2 +- 7 files changed, 10 insertions(+), 14 deletions(-) rename htdocs/core/connection.php => connection.php (63%) delete mode 100644 db_info.php diff --git a/htdocs/core/connection.php b/connection.php similarity index 63% rename from htdocs/core/connection.php rename to connection.php index d22db35..269df7c 100644 --- a/htdocs/core/connection.php +++ b/connection.php @@ -1,6 +1,9 @@ \ No newline at end of file diff --git a/htdocs/blog.php b/htdocs/blog.php index f082e40..28ef758 100644 --- a/htdocs/blog.php +++ b/htdocs/blog.php @@ -1,5 +1,5 @@ diff --git a/htdocs/contact.php b/htdocs/contact.php index 1bb6e80..e9bec26 100644 --- a/htdocs/contact.php +++ b/htdocs/contact.php @@ -1,5 +1,5 @@ diff --git a/htdocs/core/handle_search.php b/htdocs/core/handle_search.php index 1ecba21..0c31cb8 100644 --- a/htdocs/core/handle_search.php +++ b/htdocs/core/handle_search.php @@ -1,5 +1,5 @@ diff --git a/htdocs/projects.php b/htdocs/projects.php index 2504ed8..ce268d1 100644 --- a/htdocs/projects.php +++ b/htdocs/projects.php @@ -1,5 +1,5 @@