mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
added checkbox for extra debug-messages for the first installtion and API updates
This commit is contained in:
parent
de506124a3
commit
28b38e63ff
@ -209,7 +209,8 @@
|
|||||||
$setup_tpl->set_var('dbexists',lang('Your database is working, but you dont have any applications installed'));
|
$setup_tpl->set_var('dbexists',lang('Your database is working, but you dont have any applications installed'));
|
||||||
$setup_tpl->set_var('install',lang('Install'));
|
$setup_tpl->set_var('install',lang('Install'));
|
||||||
$setup_tpl->set_var('proceed',lang('We can proceed'));
|
$setup_tpl->set_var('proceed',lang('We can proceed'));
|
||||||
$setup_tpl->set_var('coreapps',lang('all core tables and the admin and preferences applications'));
|
$setup_tpl->set_var('coreapps',lang('all applications'));
|
||||||
|
$setup_tpl->set_var('lang_debug',lang('enable for extra debug-messages'));
|
||||||
$setup_tpl->parse('V_db_stage_3','B_db_stage_3');
|
$setup_tpl->parse('V_db_stage_3','B_db_stage_3');
|
||||||
$db_filled_block = $setup_tpl->get_var('V_db_stage_3');
|
$db_filled_block = $setup_tpl->get_var('V_db_stage_3');
|
||||||
$setup_tpl->set_var('V_db_filled_block',$db_filled_block);
|
$setup_tpl->set_var('V_db_filled_block',$db_filled_block);
|
||||||
@ -263,11 +264,11 @@
|
|||||||
case 'new':
|
case 'new':
|
||||||
/* process all apps and langs(last param True), excluding apps with the no_mass_update flag set. */
|
/* process all apps and langs(last param True), excluding apps with the no_mass_update flag set. */
|
||||||
$setup_info = $GLOBALS['phpgw_setup']->detection->upgrade_exclude($setup_info);
|
$setup_info = $GLOBALS['phpgw_setup']->detection->upgrade_exclude($setup_info);
|
||||||
$setup_info = $GLOBALS['phpgw_setup']->process->pass($setup_info,'new',$GLOBALS['DEBUG'],True);
|
$setup_info = $GLOBALS['phpgw_setup']->process->pass($setup_info,'new',$_REQUEST['debug'],True);
|
||||||
$GLOBALS['phpgw_info']['setup']['currentver']['phpgwapi'] = 'oldversion';
|
$GLOBALS['phpgw_info']['setup']['currentver']['phpgwapi'] = 'oldversion';
|
||||||
break;
|
break;
|
||||||
case 'oldversion':
|
case 'oldversion':
|
||||||
$setup_info = $GLOBALS['phpgw_setup']->process->pass($setup_info,'upgrade',$GLOBALS['DEBUG']);
|
$setup_info = $GLOBALS['phpgw_setup']->process->pass($setup_info,'upgrade',$_REQUEST['debug']);
|
||||||
$GLOBALS['phpgw_info']['setup']['currentver']['phpgwapi'] = 'oldversion';
|
$GLOBALS['phpgw_info']['setup']['currentver']['phpgwapi'] = 'oldversion';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
{dbexists}<br>
|
{dbexists}<br>
|
||||||
<input type="hidden" name="action" value="Install">
|
<input type="hidden" name="action" value="Install">
|
||||||
<input type="submit" name="label" value="{install}"> {coreapps}
|
<input type="submit" name="label" value="{install}"> {coreapps}
|
||||||
|
<br><input type="checkbox" name="debug" value="1"> {lang_debug}
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -75,6 +76,7 @@
|
|||||||
<input type="hidden" name="useglobalconfigsettings">
|
<input type="hidden" name="useglobalconfigsettings">
|
||||||
<input type="hidden" name="action" value="Upgrade">
|
<input type="hidden" name="action" value="Upgrade">
|
||||||
<input type="submit" name="label" value="{upgrade}"><br>
|
<input type="submit" name="label" value="{upgrade}"><br>
|
||||||
|
<input type="checkbox" name="debug" value="1"> {lang_debug}<br>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form method="POST" action="index.php">
|
<form method="POST" action="index.php">
|
||||||
|
Loading…
Reference in New Issue
Block a user