summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 23:04:50 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 23:04:50 +0300
commitcaf30403137075518d17b9f953b3f33bc6c0d6d9 (patch)
tree845b04c0689051d153098c697c277f3d2e843069 /config.php-dist
parent445ac1213c52360046e87508d2060d1b3620a7a0 (diff)
update config.php-dist
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist17
1 files changed, 17 insertions, 0 deletions
diff --git a/config.php-dist b/config.php-dist
index 840880ad9..6e8a39304 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -1,4 +1,21 @@
<?php
+ /*
+ This file can be used to customize global defaults if environment method is not available (i.e. no Docker).
+
+ Use the following syntax to override defaults (options are declared in classes/config.php, prefixed by TTRSS_):
+
+ putenv('TTRSS_DB_HOST=myserver')
+ putenv('TTRSS_SELF_URL_PATH=http://example.com/tt-rss')
+
+ Plugin-required constants also go here, using define():
+
+ define('LEGACY_CONSTANT', 'value');
+
+ etc.
+
+ See this page for more information: https://tt-rss.org/wiki/GlobalConfig
+ */
+
// *******************************************
// *** Database configuration (important!) ***
// *******************************************