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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user