]> git.somenet.org - fsinf/pub/w2c.git/blob - settings.php.example
Status ist jetzt ein select. Sable angepasst. OK/ERR besser anzeigen.
[fsinf/pub/w2c.git] / settings.php.example
1 <?php
2
3 $GLOBALS['devmode'] = 1;
4
5 if($GLOBALS['devmode'] == 1){
6   ini_set('display_errors',1);
7   ini_set('display_startup_errors',1);
8   error_reporting(-1);
9 }else{
10   error_reporting(0);
11 }
12
13 $GLOBALS['dbc'] = new PDO('pgsql:host=localhost;port=5432;dbname=SETME;user=SETME;password=SETME');
14 $GLOBALS['dbc']->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
15 $GLOBALS['dbc']->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
16
17