From: Michael J. Rubinsky Date: Wed, 12 Aug 2009 15:22:31 +0000 (-0400) Subject: Use the exif driver from $conf X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=43b1c575f571be9bcd70a96be493e1f38eae8064;p=horde.git Use the exif driver from $conf --- diff --git a/ansel/lib/Ansel.php b/ansel/lib/Ansel.php index 0a027d5ff..c817b6c39 100644 --- a/ansel/lib/Ansel.php +++ b/ansel/lib/Ansel.php @@ -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 */