1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 01:09:35 +05:30

(refactor): changed connection.php credentials into .env

This commit is contained in:
2023-12-11 01:08:55 +05:30
parent 88839cd861
commit 6eeba2f01a
8 changed files with 35 additions and 15 deletions

View File

@@ -1,5 +1,9 @@
<?php
require '../../connection.php';
require 'vendor/autoload.php';
$dotenv = Dotenv\Dotenv::createImmutable('../../');
$dotenv->load();
require 'connection.php';
require 'query_functions.php';
function input_filter($conn, $data){