diff --git a/magento/app/code/community/Yireo/MageBridge/Block/Check.php b/magento/app/code/community/Yireo/MageBridge/Block/Check.php index 1a617a56..d7ec4158 100644 --- a/magento/app/code/community/Yireo/MageBridge/Block/Check.php +++ b/magento/app/code/community/Yireo/MageBridge/Block/Check.php @@ -177,7 +177,11 @@ protected function hasEntryPointValidPermissions() */ protected function hasJsFileValidPermissions() { - return $this->hasFileValidPermissions(Mage::getBaseDir() . DS . 'js' . DS . 'index.php'); + $file = Mage::getBaseDir() . DS . 'js' . DS . 'index.php'; + if (file_exists($file)) { + return $this->hasFileValidPermissions($file); + } + return true; } /**