Resolution chemins relatifs bandeau

This commit is contained in:
remi.biette 2019-05-17 09:18:14 +02:00
parent 07049eaf25
commit 934a601284

View File

@ -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">