This commit is contained in:
Kallys 2017-05-19 20:08:45 +02:00
parent 13ed10dc4e
commit bd88239c7c

View File

@ -1,6 +1,6 @@
<?php
$url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']);
$path = dirname($_SERVER['PHP_SELF']);
$path = rtrim(dirname($_SERVER['PHP_SELF']), '/');
$url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $path;
?>
<!doctype html>
<html class="no-js" lang="">
@ -25,4 +25,4 @@
</script>
<script src="<?=$url ?>/js/main.js"></script>
</body>
</html>
</html>