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