@ SuppressWarnings ( "rawtypes" ) public static boolean areFileExtensionsEnabled ( ) { Config config = GrailsWebUtil . currentApplication ( ) . getConfig ( ) ; return config . getProperty ( ENABLE_FILE_EXTENSIONS , Boolean . class , true ) ; }
Returns the value of the grails . mime . file . extensions setting configured in application . groovy