summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
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!) ***
// *******************************************