mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fixed an other redirect to (not working) home
This commit is contained in:
parent
af5841a5d1
commit
2c1ee19fa9
@ -103,6 +103,8 @@ if ($app == 'home' && !($GLOBALS['egw']->framework instanceof jdots_framework))
|
|||||||
if (!$app || $app == 'home') $app = isset($GLOBALS['egw_info']['user']['apps']['calendar']) ? 'calendar' : key($GLOBALS['egw_info']['user']['apps']);
|
if (!$app || $app == 'home') $app = isset($GLOBALS['egw_info']['user']['apps']['calendar']) ? 'calendar' : key($GLOBALS['egw_info']['user']['apps']);
|
||||||
egw::redirect(egw_framework::index($app), $app);
|
egw::redirect(egw_framework::index($app), $app);
|
||||||
}
|
}
|
||||||
|
// until home works again, we build new frameset for jdots template
|
||||||
|
if ($app == 'home' && $GLOBALS['egw']->framework instanceof jdots_framework) $_GET['cd'] = 'yes';
|
||||||
|
|
||||||
if($app == 'home' && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile))
|
if($app == 'home' && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user