mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-28 00:04:31 +02:00
Fix #22
This commit is contained in:
parent
13ed10dc4e
commit
bd88239c7c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user