]> git.somenet.org - fsinf/pub/w2c.git/blob - settings.php.example
added exceptions, some more verification, checkboxes
[fsinf/pub/w2c.git] / settings.php.example
1 <?php
2
3 ini_set('display_errors',1);
4 ini_set('display_startup_errors',1);
5 error_reporting(-1);
6
7 $GLOBALS['dbc'] = new PDO('pgsql:host=localhost;port=5432;dbname=SETME;user=SETME;password=SETME');
8 $GLOBALS['dbc']->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
9 $GLOBALS['dbc']->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
10
11