Improvement constant PARTNER_FLAG

- Browser library
- HearBeat.
- tab plugins.
This commit is contained in:
Marco Antonio Nina
2013-03-20 08:56:35 -04:00
parent 89ac75ec1e
commit 9bba838945

View File

@@ -63,8 +63,8 @@ if ($RBAC->userCanAccess('PM_SETUP') == 1) {
} }
//tools options //tools options
if ($RBAC->userCanAccess('PM_SETUP_ADVANCE') == 1 ) { if ($RBAC->userCanAccess('PM_SETUP_ADVANCE') == 1 ) {
$valueShow = (defined('PARTNER_FLAG')) ? PARTNER_FLAG : false; $partnerFlag = (defined('PARTNER_FLAG')) ? PARTNER_FLAG : false;
if (!$valueShow) { if (!$partnerFlag) {
$G_TMP_MENU->AddIdRawOption('PLUGINS', 'pluginsMain', 'Plugins Manager', 'icon-plugins.png', '', 'plugins'); $G_TMP_MENU->AddIdRawOption('PLUGINS', 'pluginsMain', 'Plugins Manager', 'icon-plugins.png', '', 'plugins');
} }
} }