mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
replace edo with core team in statu setup info
redirect to about.php when default application is available as link
This commit is contained in:
parent
eb4efca847
commit
84737d0d70
@ -18,7 +18,7 @@
|
|||||||
$setup_info['home']['app_order'] = 1;
|
$setup_info['home']['app_order'] = 1;
|
||||||
$setup_info['home']['enable'] = 1;
|
$setup_info['home']['enable'] = 1;
|
||||||
|
|
||||||
$setup_info['home']['author'] = 'Edo van Bruggen';
|
$setup_info['home']['author'] = 'eGroupWare Core Team';
|
||||||
$setup_info['home']['license'] = 'GPL';
|
$setup_info['home']['license'] = 'GPL';
|
||||||
$setup_info['home']['description'] = 'Displays eGroupWare\' homepage';
|
$setup_info['home']['description'] = 'Displays eGroupWare\' homepage';
|
||||||
$setup_info['home']['maintainer'] = array(
|
$setup_info['home']['maintainer'] = array(
|
||||||
|
@ -89,10 +89,18 @@
|
|||||||
$GLOBALS['egw_info']['user']['preferences']['common']['default_app'] = $GLOBALS['egw_info']['server']['force_default_app'];
|
$GLOBALS['egw_info']['user']['preferences']['common']['default_app'] = $GLOBALS['egw_info']['server']['force_default_app'];
|
||||||
}
|
}
|
||||||
if($GLOBALS['egw_info']['user']['preferences']['common']['default_app'] && !$hasupdates)
|
if($GLOBALS['egw_info']['user']['preferences']['common']['default_app'] && !$hasupdates)
|
||||||
|
{
|
||||||
|
/** Test if our default app is available else open about.php */
|
||||||
|
if(is_file('./'.$GLOBALS['egw_info']['user']['preferences']['common']['default_app'].'/index.php'))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->redirect_link('/'.$GLOBALS['egw_info']['user']['preferences']['common']['default_app'].'/index.php');
|
$GLOBALS['egw']->redirect_link('/'.$GLOBALS['egw_info']['user']['preferences']['common']['default_app'].'/index.php');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
$GLOBALS['egw']->redirect_link('/about.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->redirect_link('/home/index.php');
|
$GLOBALS['egw']->redirect_link('/home/index.php');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user