mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
showing an error-message, if we cant connect to the DB
This commit is contained in:
parent
8a1dacc95f
commit
d4f1a3f87c
@ -165,7 +165,7 @@
|
|||||||
switch($GLOBALS['phpgw_info']['setup']['stage']['db'])
|
switch($GLOBALS['phpgw_info']['setup']['stage']['db'])
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
$setup_tpl->set_var('dbnotexist',lang('Your Database is not working!'));
|
$setup_tpl->set_var('dbnotexist',lang('Your Database is not working!').':<p>'.$GLOBALS['phpgw_setup']->db->Error);
|
||||||
$setup_tpl->set_var('makesure',lang('makesure'));
|
$setup_tpl->set_var('makesure',lang('makesure'));
|
||||||
$setup_tpl->set_var('notcomplete',lang('not complete'));
|
$setup_tpl->set_var('notcomplete',lang('not complete'));
|
||||||
$setup_tpl->set_var('oncesetup',lang('Once the database is setup correctly'));
|
$setup_tpl->set_var('oncesetup',lang('Once the database is setup correctly'));
|
||||||
|
Loading…
Reference in New Issue
Block a user