File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function init()
48
48
$ this ->generateAccessActions = false ;
49
49
//$this->permissionName = CmsManager::PERMISSION_ROOT_ACCESS;
50
50
$ this ->accessCallback = function () {
51
- if (!\Yii::$ app ->cms ->site ->is_default ) {
51
+ if (!\Yii::$ app ->skeeks ->site ->is_default ) {
52
52
return false ;
53
53
}
54
54
return \Yii::$ app ->user ->can (CmsManager::PERMISSION_ROOT_ACCESS );
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function init()
50
50
$ this ->generateAccessActions = false ;
51
51
//$this->permissionName = CmsManager::PERMISSION_ROOT_ACCESS;
52
52
$ this ->accessCallback = function () {
53
- if (!\Yii::$ app ->cms ->site ->is_default ) {
53
+ if (!\Yii::$ app ->skeeks ->site ->is_default ) {
54
54
return false ;
55
55
}
56
56
return \Yii::$ app ->user ->can (CmsManager::PERMISSION_ROOT_ACCESS );
You can’t perform that action at this time.
0 commit comments