add check for pdo now that some base libraries are using Horde_Db.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 31 May 2010 20:56:58 +0000 (16:56 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 2 Jun 2010 14:23:17 +0000 (10:23 -0400)
Tweaks to the error message welcome.

horde/lib/Test.php

index 7bbaf4a..e469cf9 100644 (file)
@@ -144,6 +144,10 @@ class Horde_Test
             'error' => 'Horde will not run without the pcre extension. Don\'t compile PHP with <code>--disable-all/--without-pcre-regex</code>, 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.'