mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-30 01:05:18 +02:00
Fix slash on windows server
This commit is contained in:
parent
cd16026f31
commit
a63991ad2d
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$path = rtrim(dirname($_SERVER['PHP_SELF']), '/');
|
||||
$path = rtrim(str_replace('\\','/',dirname($_SERVER['PHP_SELF'])), '/');
|
||||
$url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $path;
|
||||
?>
|
||||
<!doctype html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user