From 807d17a4bedae6d2ebc2eda3236fe1740422b3ba Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 03 Mar 2008 16:32:15 -0500 Subject: [PATCH] Make rcube_install class PHP4 compatible + add warning for MDB2 on PHP4 + set MDB2 as default --- installer/test.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/installer/test.php b/installer/test.php index d83534b..7e99039 100644 --- a/installer/test.php +++ b/installer/test.php @@ -55,6 +55,8 @@ $RCI->fail('DSN (write)', $db_error_msg); echo '<p class="hint">Make sure that the configured database extists and that the user as write privileges<br />'; echo 'DSN: ' . $RCI->config['db_dsnw'] . '</p>'; + if ($RCI->config['db_backend'] == 'mdb2') + echo '<p class="hint">There are known problems with MDB2 running on PHP 4. Try setting <tt>db_backend</tt> to \'db\' instead</p>'; } } else { -- Gitblit v1.9.1