Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return ((get_class(Yii::app())=='CConsoleApplication' ||
- **Yii::app()->user->checkAccess('Administrator') ||**
- (get_class(Yii::app())!='CConsoleApplication' &&
- Yii::app()->getModule('user')->isAdmin()))?array(
Add Comment
Please, Sign In to add comment