From 8bd76f19b5ca7d56fabd166a1f2762892eedf270 Mon Sep 17 00:00:00 2001 From: ryuring Date: Sat, 30 Sep 2023 15:30:35 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#2775=20Chrome=E3=81=AE=E3=83=84=E3=83=BC?= =?UTF-8?q?=E3=83=AB=E3=82=A4=E3=83=B3=E3=82=B9=E3=83=9A=E3=82=AF=E3=82=BF?= =?UTF-8?q?=E5=88=A9=E7=94=A8=E6=99=82=E3=83=AD=E3=82=B0=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E7=8A=B6=E6=85=8B=E3=81=8C=E7=B6=99=E7=B6=9A=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Baser/Controller/BcAppController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Baser/Controller/BcAppController.php b/lib/Baser/Controller/BcAppController.php index 7c292ff29c..02f116619c 100644 --- a/lib/Baser/Controller/BcAppController.php +++ b/lib/Baser/Controller/BcAppController.php @@ -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') {