mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 03:29:35 +05:30
13 lines
298 B
PHP
13 lines
298 B
PHP
<?php
|
|
$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;
|
|
}
|
|
?>
|