diff options
| author | moehm | 2014-04-28 11:12:38 +0200 |
|---|---|---|
| committer | moehm | 2014-04-28 11:12:38 +0200 |
| commit | 7c1299521f31d6eb733e29455ccad8c92cbc0a7b (patch) | |
| tree | 572c80ad16cea71b79aad7d3291e06a03265c7c0 /www/config.php | |
| parent | 11ed3a4c720d9379beaf7f5770f297677da5d9a7 (diff) | |
| download | files.iamfabulous.de-7c1299521f31d6eb733e29455ccad8c92cbc0a7b.tar.gz | |
Unimportant changes #2
Diffstat (limited to 'www/config.php')
| -rw-r--r-- | www/config.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/config.php b/www/config.php new file mode 100644 index 0000000..322ca53 --- /dev/null +++ b/www/config.php @@ -0,0 +1,20 @@ +<?php + +# Database + $dbname = 'vfs'; + $dbuser = 'vfs-user'; + $dbhost = 'localhost'; + $dbpassword = 'secretpassword'; + +# set preferred HTTP scheme, changes to https if set + $SCHEME="http://"; + + if(isset($_SERVER["HTTPS"])){ + if($_SERVER["HTTPS"] == "on"){ + $SCHEME="https://"; + } + } + +# host name + $HOST = $_SERVER["HTTP_HOST"]; + $DOMAIN = $SCHEME.$HOST."/"; |
