mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2026-06-21 04:43:45 +05:30
(refactor): changed router file path (feat): added global host config
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$currentHost = $_SERVER['HTTP_HOST'];
|
||||
|
||||
if($currentHost == "localhost") {
|
||||
$basePath = "https://localhost/neosubhamoy/htdocs";
|
||||
}
|
||||
else {
|
||||
$basePath = "https://" + $host;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user