Resolution chemins relatifs bandeau
This commit is contained in:
parent
07049eaf25
commit
934a601284
@ -1,9 +1,10 @@
|
||||
<?php
|
||||
$protocol = "https";
|
||||
if (!isset($_SERVER['HTTPS_HOST'])){
|
||||
$protocol = "http";
|
||||
}
|
||||
$path = "$protocol://".$_SERVER['HTTP_HOST'];
|
||||
|
||||
$path = "..";
|
||||
if (file_exists("./inscription.php")) {
|
||||
$path = ".";
|
||||
}
|
||||
|
||||
?>
|
||||
<div id="menuDiv">
|
||||
<nav id="menu">
|
||||
|
Loading…
Reference in New Issue
Block a user