support for subdomains on the sourceforge hosting site
This commit is contained in:
parent
0a29df80d0
commit
5c0ed9229d
11
Docs/Webpage/index.php
Normal file
11
Docs/Webpage/index.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?
|
||||
$url = $_SERVER['HTTP_HOST'];
|
||||
if($url == "map.project-osrm.org") {
|
||||
$file = file_get_contents('map.html');
|
||||
echo $file;
|
||||
return;
|
||||
}
|
||||
$file = file_get_contents('main.html');
|
||||
echo $file;
|
||||
return;
|
||||
?>
|
Loading…
Reference in New Issue
Block a user