menu[dcAdmin::MENU_PLUGINS]->addItem( dcCore::app()->plugins->moduleInfo(basename(__NAMESPACE__), 'name'), dcCore::app()->adminurl->get('admin.plugin.' . basename(__NAMESPACE__)), dcPage::getPF(basename(__NAMESPACE__) . '/icon.svg'), preg_match('/' . preg_quote(dcCore::app()->adminurl->get('admin.plugin.' . basename(__NAMESPACE__))) . '(&.*)?$/', $_SERVER['REQUEST_URI']), dcCore::app()->auth->isSuperAdmin() ); return true; } }