Ignore:
Timestamp:
Apr 29, 2020, 8:03:51 PM (5 years ago)
Author:
ddtddt
Message:

[manage_properties_photos]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/manage_properties_photos/admin.php

    r32136 r32137  
    237237                  if(empty($filename['path'])){
    238238                          $_SESSION['page_errors'] = array(l10n('reference photo id doesn\'t exist please update'));
     239                  }else if(exif_imagetype($filename['path']) != IMAGETYPE_JPEG and exif_imagetype($filename['path']) != IMAGETYPE_TIFF_II and exif_imagetype($filename['path']) != IMAGETYPE_TIFF_MM){
     240                          $_SESSION['page_errors'] = array(l10n('reference photo type doesn\'t use metadata please update'));
    239241                  }else{       
    240242                        $exif = exif_read_data($filename['path']);
Note: See TracChangeset for help on using the changeset viewer.