1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2026-06-21 04:43:45 +05:30

(fixed): router and host_config for my local network cross device access

This commit is contained in:
2023-11-18 00:35:46 +05:30
Unverified
parent 02834eb5f6
commit 771771e061
5 changed files with 28 additions and 8 deletions
+3
View File
@@ -4,6 +4,9 @@ $currentHost = $_SERVER['HTTP_HOST'];
if($currentHost == "localhost") {
$basePath = "https://localhost/neosubhamoy/htdocs";
}
elseif ($currentHost == "192.168.29.177") {
$basePath = "https://192.168.29.177/neosubhamoy/htdocs";
}
else {
$basePath = "https://" . $currentHost;
}