FILE_INSECURE_EXTENSION_REGEX
Same name in other branches
- 8.9.x core/modules/file/file.module \FILE_INSECURE_EXTENSION_REGEX
The regex pattern used when checking for insecure file types.
Deprecated
in drupal:9.2.0 and is removed from drupal:10.0.0. Use \Drupal\Core\File\FileSystemInterface::INSECURE_EXTENSION_REGEX.
See also
https://www.drupal.org/node/3032541
File
-
core/
modules/ file/ file.module, line 48
Code
define('FILE_INSECURE_EXTENSION_REGEX', FileSystemInterface::INSECURE_EXTENSION_REGEX);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.