further mysql/DB_TYPE related cleanup

This commit is contained in:
Andrew Dolgov
2025-04-14 15:21:10 +03:00
parent b154bc7a10
commit 7e403aae92
5 changed files with 34 additions and 69 deletions

View File

@@ -18,13 +18,16 @@ class Config {
*
* or config.php:
*
* putenv('TTRSS_DB_TYPE=pgsql');
* putenv('TTRSS_DB_HOST=my-patroni.example.com');
*
* note lack of quotes and spaces before and after "=".
*
*/
/** database type: pgsql */
/** this is kept for backwards/plugin compatibility, the only supported database is PostgreSQL
*
* @deprecated could be replaced with default (and only) value: `pgsql`
*/
const DB_TYPE = "DB_TYPE";
/** database server hostname */