modify tt-rss config template

This commit is contained in:
vincent 2021-03-21 12:06:40 +01:00
parent 604c2763e5
commit e81181f4d0

View File

@ -2,19 +2,19 @@
// ******************************************* // *******************************************
// *** Database configuration (important!) *** // *** Database configuration (important!) ***
// ******************************************* // *******************************************
define('DB_TYPE', '{{ 'pgsql' if ttrss_db_type == 'postgres' else ttrss_db_type }}'); putenv('TTRSS_DB_TYPE={{ 'pgsql' if ttrss_db_type == 'postgres' else ttrss_db_type }}');
define('DB_HOST', 'localhost'); putenv('TTRSS_DB_HOST=localhost');
define('DB_USER', '{{ ttrss_db_user}}'); putenv('TTRSS_DB_USER={{ ttrss_db_user}}');
define('DB_NAME', '{{ttrss_db_name}}'); putenv('TTRSS_DB_NAME={{ttrss_db_name}}');
define('DB_PASS', '{{ ttrss_db_password }}'); putenv('TTRSS_DB_PASS={{ ttrss_db_password }}');
define('DB_PORT', '5432'); putenv('TTRSS_DB_PORT=5432');
define('MYSQL_CHARSET', 'UTF8'); putenv('TTRSS_MYSQL_CHARSET=UTF8');
// Connection charset for MySQL. If you have a legacy database and/or experience // Connection charset for MySQL. If you have a legacy database and/or experience
// garbage unicode characters with this option, try setting it to a blank string. // garbage unicode characters with this option, try setting it to a blank string.
// *********************************** // ***********************************
// *** Basic settings (important!) *** // *** Basic settings (important!) ***
// *********************************** // ***********************************
define('SELF_URL_PATH', '{{ ttrss_url_path }}'); putenv('TTRSS_SELF_URL_PATH={{ ttrss_url_path }}');
// Full URL of your tt-rss installation. This should be set to the // Full URL of your tt-rss installation. This should be set to the
// location of tt-rss directory, e.g. http://example.org/tt-rss/ // location of tt-rss directory, e.g. http://example.org/tt-rss/
// You need to set this option correctly otherwise several features // You need to set this option correctly otherwise several features
@ -162,4 +162,4 @@
define('CONFIG_VERSION', 26); define('CONFIG_VERSION', 26);
// Expected config version. Please update this option in config.php // Expected config version. Please update this option in config.php
// if necessary (after migrating all new options from this file). // if necessary (after migrating all new options from this file).
// vim:ft=php // vim:ft=php