Use the exif driver from $conf
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 12 Aug 2009 15:22:31 +0000 (11:22 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 12 Aug 2009 15:22:31 +0000 (11:22 -0400)
ansel/lib/Ansel.php

index 0a027d5..c817b6c 100644 (file)
@@ -2545,7 +2545,7 @@ class Ansel_Image {
         if (is_a($imageFile, 'PEAR_Error')) {
             return $imageFile;
         }
-        $exif = Horde_Image_Exif::factory();
+        $exif = Horde_Image_Exif::factory($GLOBALS['conf']['exif'], $GLOBALS['conf']['exif']['params']);
         $exif_fields = $exif->getData($imageFile);
 
         /* Flag to determine if we need to resave the image data */