Initial support for PostgreSQL

darcs-hash:20080909072224-f6e2c-881bd2e7fb032f336fecae9ca5ce527dd821d3dc.gz
This commit is contained in:
CiaranG
2008-09-09 03:22:24 -04:00
parent eb4df223e6
commit 26634ef0a0
4 changed files with 300 additions and 3 deletions

View File

@@ -43,6 +43,11 @@ $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
#$config['db']['debug'] = 0;
#$config['db']['db_driver'] = 'MDB2';
#Database type. For mysql, these defaults are fine. For postgresql, set
#'quote_identifiers' to true and 'type' to 'pgsql':
#$config['db']['quote_identifiers'] = false;
#$config['db']['type'] = 'mysql';
#session_set_cookie_params(0, '/'. $config['site']['path'] .'/');
#Standard fancy-url clashes prevented by not allowing nicknames on a blacklist