I've made a little change in Danish.php for the DOCS infusion and wanted to upload it to the LOCALIZATION REPOSITORY.
When clicking 'upload' this error occurs:
Quote
Fatal error: Uncaught Error: Call to undefined method DefenderImageValidation::mimeCheck() in /home/phpfusion/public_html/includes/infusions_include.php:280 Stack trace: #0 /home/phpfusion/public_html/includes/defender/validation/upload.php(168): upload_file('trans_file_uplo...', 'danishphp', '../../infusions...', Array, 15728640, '', false) #1 /home/phpfusion/public_html/includes/defender/validation.php(104): Upload->verify_file_upload() #2 /home/phpfusion/public_html/includes/defender.php(608): DefenderValidation::getValidated() #3 /home/phpfusion/public_html/includes/defender.php(488): Defender->validate() #4 /home/phpfusion/public_html/includes/defender.php(671): Defender->formSanitizer(Array, '', 'trans_file_uplo...') #5 /home/phpfusion/public_html/includes/defender.php(739): Defender->fileSanitizer('trans_file_uplo...', '', 'trans_file_uplo...') #6 /home/phpfusion/public_html/infusions/marketplace/contents/storetranslations.class.php(481): file_sanitizer('trans_file_uplo...', '', 'trans_file_uplo...') #7 /home/php in /home/phpfusion/public_html/includes/infusions_include.php on line 280
I'm attaching the zip file here as well :-)