initial commit of file from CVS for smeserver-tt-rss on Sat Sep 7 21:09:52 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 21:09:52 +10:00
parent 6d03a0526c
commit 6f0f7fedad
37 changed files with 973 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
{
my $db = ${'tt-rss'}{'DbName'} || 'rssdb';
my $user = ${'tt-rss'}{'DbUser'} || 'rssuser';
my $pass = ${'tt-rss'}{'DbPassword'} || 'secret';
my $port = $mysqld{'TCPPort'} || '3306';
$OUT .=<<"HERE";
putenv('TTRSS_DB_TYPE=mysql');
putenv('TTRSS_DB_HOST=localhost');
putenv('TTRSS_DB_PORT=$port');
putenv('TTRSS_DB_USER=$user');
putenv('TTRSS_DB_NAME=$db');
putenv('TTRSS_DB_PASS=$pass');
putenv('TTRSS_DB_HOST=localhost');
HERE
}
putenv('TTRSS_MYSQL_CHARSET=UTF8');
// Connection charset for MySQL.