From 1bcb687078a405dc4e58cd1c44710d85acec1a2b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 31 May 2010 16:56:58 -0400 Subject: [PATCH] add check for pdo now that some base libraries are using Horde_Db. Tweaks to the error message welcome. --- horde/lib/Test.php | 4 ++++ 1 file changed, 4 insertions(+) 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.' -- 2.11.0