From: Michael J. Rubinsky Date: Mon, 31 May 2010 20:56:58 +0000 (-0400) Subject: add check for pdo now that some base libraries are using Horde_Db. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1bcb687078a405dc4e58cd1c44710d85acec1a2b;p=horde.git add check for pdo now that some base libraries are using Horde_Db. Tweaks to the error message welcome. --- diff --git a/horde/lib/Test.php b/horde/lib/Test.php index 7bbaf4aa9..e469cf98d 100644 --- a/horde/lib/Test.php +++ b/horde/lib/Test.php @@ -144,6 +144,10 @@ class Horde_Test 'error' => 'Horde will not run without the pcre extension. Don\'t compile PHP with --disable-all/--without-pcre-regex, or enable the pcre extension individually before continuing.', 'fatal' => true ), + 'pdo' => array( + 'descrip' => 'PDO', + 'error' => 'The PDO extension is required if you plan on using a database backend other than mysqli with Horde_Db.', + ), 'pgsql' => array( 'descrip' => 'PostgreSQL Support', 'error' => 'The PostgreSQL extension is only required if you want to use a PostgreSQL database server for data storage.'