Resolution chemins relatifs bandeau

admin
remi.biette 5 years ago
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…
Cancel
Save