[BUGFIX] Avoid PHP warning when using Phar archive with open_basedir
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / IO / PharStreamWrapper.php
index 0b53bdb..69ffdfb 100644 (file)
@@ -472,7 +472,7 @@ class PharStreamWrapper
 
         while (count($parts)) {
             $currentPath = implode('/', $parts);
-            if (file_exists($currentPath)) {
+            if (@file_exists($currentPath)) {
                 return $currentPath;
             }
             array_pop($parts);