diff --git a/api/src/Egw.php b/api/src/Egw.php index d33bb02a0d..c7ef6d8ea3 100644 --- a/api/src/Egw.php +++ b/api/src/Egw.php @@ -357,7 +357,7 @@ class Egw extends Egw\Base { $this->currentapp = $GLOBALS['egw_info']['flags']['currentapp']; // some apps change it later - if ($GLOBALS['egw_info']['flags']['currentapp'] != 'api') // give everyone implicit api rights + if (!in_array($GLOBALS['egw_info']['flags']['currentapp'], array('api','about'))) // give everyone implicit api rights { // This will need to use ACL in the future if (!$GLOBALS['egw_info']['user']['apps'][$currentapp = $GLOBALS['egw_info']['flags']['currentapp']] || diff --git a/api/src/Framework.php b/api/src/Framework.php index db0889b78b..9f709be42c 100644 --- a/api/src/Framework.php +++ b/api/src/Framework.php @@ -795,13 +795,13 @@ abstract class Framework extends Framework\Extra // We handle this here because its special $apps['about']['title'] = 'EGroupware'; $apps['about']['url'] = self::link('/about.php'); - $apps['about']['icon'] = $apps['about']['icon_hover'] = Image::find('phpgwapi',Array('about','nonav')); + $apps['about']['icon'] = $apps['about']['icon_hover'] = Image::find('api',Array('about','nonav')); $apps['about']['name'] = 'about'; $apps['logout']['title'] = lang('Logout'); $apps['logout']['name'] = 'logout'; $apps['logout']['url'] = self::link('/logout.php'); - $apps['logout']['icon'] = $apps['logout']['icon_hover'] = Image::find('phpgwapi',Array('logout','nonav')); + $apps['logout']['icon'] = $apps['logout']['icon_hover'] = Image::find('api',Array('logout','nonav')); return $apps; }