1
0

Set SELF_URL_PATH on runtime

This commit is contained in:
Philipp Schmitt
2015-02-21 15:48:03 +01:00
parent d2e34cd59d
commit 968819a855
3 changed files with 15 additions and 1 deletions
+3
View File
@@ -5,6 +5,9 @@ $confpath = '/var/www/config.php';
$config = array();
// path to ttrss
$config['SELF_URL_PATH'] = env('SELF_URL_PATH', 'http://localhost');
if (getenv('DB_TYPE') !== false) {
$config['DB_TYPE'] = getenv('DB_TYPE');
} elseif (getenv('DB_PORT_5432_TCP_ADDR') !== false) {