1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-13 17:44:11 +02:00

bugfix, enhanced error reporting, better examples

This commit is contained in:
David Grudl
2007-05-11 22:25:32 +00:00
parent d03f60c43c
commit f766827219
19 changed files with 123 additions and 230 deletions

View File

@@ -42,7 +42,7 @@ class DibiPdoDriver extends DibiDriver
throw new DibiException("PHP extension 'pdo' is not loaded");
if (empty($config['dsn']))
throw new DibiException("DSN must be specified");
throw new DibiException("DSN must be specified (driver odbc)");
if (empty($config['username'])) $config['username'] = NULL;
if (empty($config['password'])) $config['password'] = NULL;