Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何区分 joomla 2.5 中的超级用户和注册用户?在 joomla 1.5 中有用户类型选项,但在 2.5 中没有选项。
我相信你最好这样做:
例如
$groups = JAccess::getGroupsByUser($UserId) if(JAccess::getAssetRules(1)->allow('core.admin', $groups)) { // we have root }