git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77463c3
)
thumb: output results of existing target
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 8 Jul 2018 01:46:03 +0000
(
03:46
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 9 Jul 2018 23:52:57 +0000
(
01:52
+0200)
In case the script gets called instead of httpd/file cache, the found target
should still be returned. Broken since commit
v3.2-15-gf08646f0f4
(2018-07-07)
[thumb: decide on cache location in mkthumb()].
thumb/index.php
patch
|
blob
|
history
diff --git
a/thumb/index.php
b/thumb/index.php
index 1d369488c927b78399d9a2e208559286a109c595..d662b5ffa2f26a29cd4620f294e56c11fddaff40 100644
(file)
--- a/
thumb/index.php
+++ b/
thumb/index.php
@@
-41,7
+41,7
@@
function mkthumb($source, $width, $height)
$backend = $_GET['backend'];
}
elseif (file_exists($target)) {
- return;
+ return
$target
;
}
elseif (extension_loaded('gd')) {
$backend = 'gd';