mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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']))
|
elseif (isset($_GET['path']))
|
||||||
{
|
{
|
||||||
list(, $apps, $app) = explode('/', $_GET['path']);
|
list(, $apps, $app) = explode('/', $_GET['path']);
|
||||||
if ($apps !== 'apps')
|
if ($apps !== 'apps' || !isset($GLOBALS['egw_info']['user']['apps'][$app]))
|
||||||
{
|
{
|
||||||
$app = 'filemanager';
|
$app = 'filemanager';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user