mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
for unknown apps eg. "/apps/InfoLog" use "filemanager"
This commit is contained in:
parent
e16b6b361d
commit
1cb00eb580
@ -62,7 +62,7 @@ function get_app()
|
||||
elseif (isset($_GET['path']))
|
||||
{
|
||||
list(, $apps, $app) = explode('/', $_GET['path']);
|
||||
if ($apps !== 'apps')
|
||||
if ($apps !== 'apps' || !isset($GLOBALS['egw_info']['user']['apps'][$app]))
|
||||
{
|
||||
$app = 'filemanager';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user