From d4f1a3f87c5daaf26e41b3d9db67d61ca02af934 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 14 Aug 2004 17:21:45 +0000 Subject: [PATCH] showing an error-message, if we cant connect to the DB --- setup/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/index.php b/setup/index.php index fe88c1e196..06383f707a 100644 --- a/setup/index.php +++ b/setup/index.php @@ -165,7 +165,7 @@ switch($GLOBALS['phpgw_info']['setup']['stage']['db']) { case 1: - $setup_tpl->set_var('dbnotexist',lang('Your Database is not working!')); + $setup_tpl->set_var('dbnotexist',lang('Your Database is not working!').':

'.$GLOBALS['phpgw_setup']->db->Error); $setup_tpl->set_var('makesure',lang('makesure')); $setup_tpl->set_var('notcomplete',lang('not complete')); $setup_tpl->set_var('oncesetup',lang('Once the database is setup correctly'));