Skip to content

Commit

Permalink
fix #2775 Chromeのツールインスペクタ利用時ログイン状態が継続できない問題を改善
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Sep 30, 2023
1 parent 3a5f5f8 commit 8bd76f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Baser/Controller/BcAppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ private function __loadDataToView()
}
}

if(preg_match('/\.map$/', $_SERVER['REQUEST_URI'])) return;
if(isset($_SERVER['REQUEST_URI']) && preg_match('/\.map$/', $_SERVER['REQUEST_URI'])) return;

/* ログインユーザー */
if (BC_INSTALLED && $user && $this->name !== 'Installations' && !Configure::read('BcRequest.isUpdater') && !Configure::read('BcRequest.isMaintenance') && $this->name !== 'CakeError') {
Expand Down

0 comments on commit 8bd76f1

Please sign in to comment.