cleanup: moved more CSS into the stylesheet
[phpfspot.git] / phpfspot.class.php
index 943c57af1b4a4e9659aff17f32efd3601dccf8c0..eba23ca42cb0dbf8f6588c7efb3d17ddacb8dc1a 100644 (file)
@@ -1610,7 +1610,7 @@ class PHPFSPOT {
     */
    public function get_meta_informations($file)
    {
-      return exif_read_data($file);
+      return @exif_read_data($file);
 
    } // get_meta_informations()
 
@@ -3004,7 +3004,7 @@ class PHPFSPOT {
     */
    public function get_mime_info($file)
    {
-      $details = getimagesize($orig_image);
+      $details = getimagesize($file);
 
       /* if getimagesize() returns empty, try at least to find out the
          mime type.