diff options
| author | root | 2014-03-26 03:07:06 +0100 |
|---|---|---|
| committer | root | 2014-03-26 03:07:06 +0100 |
| commit | e009b1e84dcbcc83f39652695eb86c6e64cc6a11 (patch) | |
| tree | a4745e74da7f5ffc4b359ae5a8cb67aec9c770c9 /www/include.php | |
| parent | f1840d40760abb9869bd218ca510eceb94f86478 (diff) | |
| download | files.iamfabulous.de-e009b1e84dcbcc83f39652695eb86c6e64cc6a11.tar.gz | |
Now conform to HTTP/1.1. Also integrated func_download.
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/"; |
