Skip to content

Commit

Permalink
Merge pull request #16 from GUSSAN-BEEDAN/feature
Browse files Browse the repository at this point in the history
Update AdminMakeResponsiveViewEventListener.php
  • Loading branch information
GUSSAN-BEEDAN authored Aug 26, 2022
2 parents 9215c13 + 0861a99 commit d70bfb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Event/AdminMakeResponsiveViewEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function beforeLayout(CakeEvent $event) {
if (BcUtil::loginUser()) {
// ログイン時
if ((BcUtil::isAdminSystem())
&&(Configure::read('BcSite.admin_theme') === 'admin-third' || $View->viewVars['siteConfig']['admin_theme'] === 'admin-third')
&&(Configure::read('BcSite.admin_theme') === 'admin-third' || $this->BcBaser->siteConfig['admin_theme'] === 'admin-third')
) {
// admin-third(管理画面)
if (
Expand Down Expand Up @@ -65,7 +65,7 @@ public function beforeLayout(CakeEvent $event) {
return;
}
} else if (
(Configure::read('BcSite.admin_theme') === 'admin-third' || $View->viewVars['siteConfig']['admin_theme'] === 'admin-third')
(Configure::read('BcSite.admin_theme') === 'admin-third' || $this->BcBaser->siteConfig['admin_theme'] === 'admin-third')
) {
// admin-third(ユーザー画面上管理ツールバー)
if (
Expand Down Expand Up @@ -121,7 +121,7 @@ public function beforeLayout(CakeEvent $event) {
return;
}
} else if (
(Configure::read('BcSite.admin_theme') === 'admin-third' || $View->viewVars['siteConfig']['admin_theme'] === 'admin-third')
(Configure::read('BcSite.admin_theme') === 'admin-third' || $this->BcBaser->siteConfig['admin_theme'] === 'admin-third')
) {
// ログオフ時 admin-third(ログイン画面対象)
if (
Expand Down

0 comments on commit d70bfb3

Please sign in to comment.