[!!!][TASK] Remove BE/fileExtensions/webspace
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Utility / File / BasicFileUtility.php
index b02be48..1f50b0a 100644 (file)
@@ -53,7 +53,11 @@ class BasicFileUtility
      * Allowed and denied file extensions
      * @var array
      */
      * Allowed and denied file extensions
      * @var array
      */
-    protected $fileExtensionPermissions = [];
+    protected $fileExtensionPermissions = [
+        'allow' => '*',
+        'deny' => PHP_EXTENSIONS_DEFAULT
+
+    ];
 
     /**********************************
      *
 
     /**********************************
      *
@@ -61,16 +65,6 @@ class BasicFileUtility
      *
      **********************************/
 
      *
      **********************************/
 
-    /**
-     * Constructor,
-     * Initializes the internal array $this->fileExtensionPermissions based on TYPO3_CONF_VARS
-     */
-    public function __construct()
-    {
-        $this->fileExtensionPermissions['allow'] = GeneralUtility::uniqueList(strtolower($GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']['webspace']['allow']));
-        $this->fileExtensionPermissions['deny'] = GeneralUtility::uniqueList(strtolower($GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']['webspace']['deny']));
-    }
-
     /**
      * Sets the file permissions, used in DataHandler e.g.
      *
     /**
      * Sets the file permissions, used in DataHandler e.g.
      *