initial mysql schema, db abstraction layer

This commit is contained in:
Andrew Dolgov
2005-09-07 13:17:16 +01:00
parent 0eef53fe3c
commit 648472a7f3
4 changed files with 205 additions and 57 deletions

View File

@@ -1,8 +1,14 @@
<?
define(DB_CONN, "host=localhost dbname=fox user=fox password=XXXXXXXXXXX");
// define(DB_CONN, "host=localhost dbname=fox user=fox password=XXXXXXXXXXX");
// DB connection string, PostgreSQL must be configured to accept connections
// via TCP/IP and authentified by password.
define(DB_TYPE, "pgsql");
define(DB_HOST, "localhost");
define(DB_USER, "fox");
define(DB_NAME, "fox");
define(DB_PASS, "XXXXXX");
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
// Local cache directory for RSS feeds