Resolution chemins relatifs bandeau

admin
remi.biette 6 years ago
parent 07049eaf25
commit 934a601284

@ -1,9 +1,10 @@
<?php <?php
$protocol = "https";
if (!isset($_SERVER['HTTPS_HOST'])){ $path = "..";
$protocol = "http"; if (file_exists("./inscription.php")) {
$path = ".";
} }
$path = "$protocol://".$_SERVER['HTTP_HOST'];
?> ?>
<div id="menuDiv"> <div id="menuDiv">
<nav id="menu"> <nav id="menu">

Loading…
Cancel
Save