mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +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(
|
||||||
|
14
index.php
14
index.php
@ -90,13 +90,21 @@
|
|||||||
}
|
}
|
||||||
if($GLOBALS['egw_info']['user']['preferences']['common']['default_app'] && !$hasupdates)
|
if($GLOBALS['egw_info']['user']['preferences']['common']['default_app'] && !$hasupdates)
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->redirect_link('/'.$GLOBALS['egw_info']['user']['preferences']['common']['default_app'].'/index.php');
|
/** 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');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$GLOBALS['egw']->redirect_link('/about.php');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->redirect_link('/home/index.php');
|
$GLOBALS['egw']->redirect_link('/home/index.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($windowed && $_GET['cd'] == 'yes')
|
if($windowed && $_GET['cd'] == 'yes')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user