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