mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 02:19:34 +05:30
(refactor): changed connection file path for better security and to fix search results not showing issue
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
//Collect database info
|
||||
require '../db_info.php';
|
||||
|
||||
//Connect with Database
|
||||
$conn = new mysqli($hostname, $username, $password, $database);
|
||||
|
||||
if ($conn -> connect_error) {
|
||||
die("Database Connection Failed !" . $conn->connect_error);
|
||||
}
|
||||
echo "";
|
||||
?>
|
||||
Reference in New Issue
Block a user