aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/include/functions_upload.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php
index ad25f848c..c99c358f6 100644
--- a/admin/include/functions_upload.inc.php
+++ b/admin/include/functions_upload.inc.php
@@ -601,6 +601,11 @@ function get_rotation_angle($source_filepath)
return null;
}
+ if (!function_exists('exif_read_data'))
+ {
+ return null;
+ }
+
$rotation = null;
$exif = exif_read_data($source_filepath);