projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e3972
)
issue84, if source picture does not exist or not readable for current user, stop...
author
Andreas Unterkircher
<unki@netshadow.at>
Sun, 30 Dec 2007 17:25:50 +0000
(18:25 +0100)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sun, 30 Dec 2007 17:25:50 +0000
(18:25 +0100)
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index d5eb9708a7741c6fa5604f9d89d8a36e4b2342a7..b61f5161a68d0ed5b81242d2850c0ad887680cb5 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-425,10
+425,12
@@
class PHPFSPOT {
if(!file_exists($orig_path)) {
$this->_error("Photo ". $orig_path ." does not exist!<br />\n");
+ return;
}
if(!is_readable($orig_path)) {
$this->_error("Photo ". $orig_path ." is not readable for user ". $this->getuid() ."<br />\n");
+ return;
}
/* If the thumbnail doesn't exist yet, try to create it */