forked from extern/egroupware
Remove check on $GLOBALS['egw_info'] since it's not available at the time
This commit is contained in:
parent
0582f2347f
commit
d4c40e8ce3
@ -64,7 +64,7 @@ function get_app()
|
||||
elseif (isset($_GET['path']))
|
||||
{
|
||||
@list(, $apps, $app) = explode('/', $_GET['path']);
|
||||
if ($apps !== 'apps' || !isset($GLOBALS['egw_info']['user']['apps'][$app]))
|
||||
if ($apps !== 'apps')
|
||||
{
|
||||
$app = 'filemanager';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user