diff options
author | Eudyptula <eitan@mosenkis.net> | 2009-06-25 15:22:42 -0400 |
---|---|---|
committer | Eudyptula <eitan@mosenkis.net> | 2009-06-25 15:22:42 -0400 |
commit | a171039a434de5bb44af48c776bc7625a09c7752 (patch) | |
tree | bf9b39c864ee5a01a9f5d5b12173899aeab05897 /shared/include/dbinit.php | |
parent | Cleaned up various unused bits of code; moved finished images to their own di... (diff) | |
download | ingenue-a171039a434de5bb44af48c776bc7625a09c7752.tar.gz ingenue-a171039a434de5bb44af48c776bc7625a09c7752.tar.bz2 ingenue-a171039a434de5bb44af48c776bc7625a09c7752.zip |
Added logout and user self-registration with email confirmation; Updates to sql_row_obj; PDO subclass for debugging
Diffstat (limited to 'shared/include/dbinit.php')
-rw-r--r-- | shared/include/dbinit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/include/dbinit.php b/shared/include/dbinit.php index 852b35f..49b5864 100644 --- a/shared/include/dbinit.php +++ b/shared/include/dbinit.php @@ -1,5 +1,5 @@ <?php require_once(dirname(__FILE__).'/../config.php'); // Use __DIR__ in 5.3.0 -$S['pdo']=new PDO('mysql:dbname='.$conf['sqldb'].';host='.$conf['sqlhost'], $conf['sqluser'], $conf['sqlpass']); +$S['pdo']=new pdo_debug('mysql:dbname='.$conf['sqldb'].';host='.$conf['sqlhost'], $conf['sqluser'], $conf['sqlpass']); sql_row_obj::set_pdo_obj($S['pdo']); ?> |