summaryrefslogtreecommitdiff
path: root/www/config.php
blob: 322ca5383063f7e04cc9e522835b1f8012a4b28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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."/";