mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-19 23:59:35 +05:30
(refactor): load environment variables only once in index
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
<?php
|
||||
require 'core/vendor/autoload.php';
|
||||
$dotenv = Dotenv\Dotenv::createImmutable('../');
|
||||
$dotenv->load();
|
||||
|
||||
require 'core/connection.php';
|
||||
require 'core/host_config.php';
|
||||
require 'core/query_functions.php';
|
||||
|
||||
Reference in New Issue
Block a user