diff options
Diffstat (limited to 'www/include.php')
| -rwxr-xr-x | www/include.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/include.php b/www/include.php index 94eaba9..aa90993 100755 --- a/www/include.php +++ b/www/include.php @@ -1,5 +1,13 @@ <?php +$scheme="http://"; + +if(isset($_SERVER["HTTPS"])){ + if($_SERVER["HTTPS"] == "on"){ + $scheme="https://"; + } +} + require_once("constants.php"); $func_dir = "functions/"; |
