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') {