Using a config variable to define protocol and domain name instead of $_SERVER as it seems inconsistent. fix #182 and #225

This commit is contained in:
Znote
2016-10-24 01:51:52 +02:00
parent ee11674450
commit 0dc15ea95b
2 changed files with 2 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
$config['site_title'] = 'Znote AAC';
$config['site_title_context'] = 'Because open communities are good communities. :3';
$config['site_url'] = "http://znote.dev";
// Path to server folder without / Example: C:\Users\Alvaro\Documents\GitHub\forgottenserver
$config['server_path'] = '';