dblayer : update error message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2960 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -135,8 +135,9 @@ class dblayer
|
||||
throw new Exception (dgettext("domframework", "No valid DSN provided"),
|
||||
500);
|
||||
if (! in_array ($driver[0], pdo_drivers ()))
|
||||
throw new \Exception (dgettext("domframework",
|
||||
"Driver PDO not available in PHP"), 500);
|
||||
throw new \Exception (sprintf (dgettext("domframework",
|
||||
"Driver PDO '%s' not available in PHP"),
|
||||
$driver[0]), 500);
|
||||
// Force specifics initialisations
|
||||
$this->dsn = $dsn;
|
||||
switch ($driver[0])
|
||||
|
||||
Reference in New Issue
Block a user