From: Andreas Unterkircher Date: Thu, 14 Jun 2007 20:02:00 +0000 (+0000) Subject: we check now for file changes with md5 sums. X-Git-Tag: phpfspot-1.2~243 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0970b4750aa4883fc59a3c7536585f8a26bcd7d4;p=phpfspot.git we check now for file changes with md5 sums. so the file existing check of the thumbnails can be removed git-svn-id: file:///var/lib/svn/phpfspot/trunk@92 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- diff --git a/phpfspot.class.php b/phpfspot.class.php index e3a1ba6..0095ca8 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -361,10 +361,6 @@ class PHPFSPOT { public function create_thumbnail($image, $width) { - // if thumbnail already exists, don't recreate it - if(file_exists(dirname($image) ."/thumbs/". $width ."_". basename($image))) - return; - $meta = $this->get_meta_informations($image); $rotate = 0;