1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 19:23:02 +05:30

(refactor): added root domain in host_config

This commit is contained in:
2024-02-03 20:31:27 +05:30
parent b66dec37bc
commit 9b84a72b2d

View File

@@ -1,6 +1,7 @@
<?php <?php
$currentHost = $_SERVER['HTTP_HOST']; $currentHost = $_SERVER['HTTP_HOST'];
$localIP = $_ENV['LOCAL_IP']; $localIP = $_ENV['LOCAL_IP'];
$domain = $_ENV['DOMAIN'];
if($currentHost == "localhost") { if($currentHost == "localhost") {
$basePath = "https://localhost/neosubhamoy/htdocs"; $basePath = "https://localhost/neosubhamoy/htdocs";