Mercurial > hg > pnewss
annotate config.php.example @ 12:7917bd536187 draft
Added hook for new articles, detect send/write failures, fixed handling of multiline headers, add Date header if it doesn't exist, add option to disable peers, fixes for synchronization with INN, added streaming mode support, small fixes
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Wed, 12 Jun 2013 22:22:07 +0200 |
parents | 40e545510a57 |
children |
rev | line source |
---|---|
0 | 1 <?php |
2 $db = PDOWrapper::connectMysql('localhost', 'dbname', 'username', 'password'); | |
2
40e545510a57
Added support for POSTing to the server, added readme and todo, added support for upstream synchronization using POST
Ivo Smits <Ivo@UCIS.nl>
parents:
0
diff
changeset
|
3 //For other databases (see also http://nl2.php.net/manual/en/pdo.construct.php): |
40e545510a57
Added support for POSTing to the server, added readme and todo, added support for upstream synchronization using POST
Ivo Smits <Ivo@UCIS.nl>
parents:
0
diff
changeset
|
4 //$db = new PDOWrapper($dsn, $user = NULL, $pass = NULL, $options = NULL); |
40e545510a57
Added support for POSTing to the server, added readme and todo, added support for upstream synchronization using POST
Ivo Smits <Ivo@UCIS.nl>
parents:
0
diff
changeset
|
5 |