Project

General

Profile

Task #56276

Updated by Mathias Schreiber over 9 years ago


 Currently the check if a file is an image is done on various places in the core, always using the same code: 

 <pre> 
 $isImage = GeneralUtility::inList($GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], $fileExtension); 
 </pre> 

 It would make sense to centralize this check and maybe optimize the performance.

Back