diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-09 07:13:53 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-09 07:13:53 +0000 |
commit | 082eccbfa232173126225daae427ef6a1832338e (patch) | |
tree | 1a61b9850ab653893fe23e852573a60968342161 | |
parent | c54dcf670a6ea58d885eb143c0eac8d90d3020f7 (diff) |
need to know the photo details before checkin files md5 sum
git-svn-id: file:///var/lib/svn/phpfspot/trunk@69 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r-- | phpfspot.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index e0fba5f..3f7a728 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -371,10 +371,11 @@ class PHPFSPOT { foreach($all as $photo) { + $details = $this->get_photo_details($photo); + $full_path = $this->translate_path($details['directory_path']) ."/". $details['name']; $file_md5 = md5_file($full_path); - $details = $this->get_photo_details($photo); if($fromcmd) print "Image ". $details['name'] ." Thumbnails:"; /* if the file hasn't changed there is no need to regen the thumb */ |