projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f596e8b
)
Images.php
wip_alan_T7608_fix_image_names
author
Alan
<alan@roojs.com>
Mon, 27 Mar 2023 04:52:00 +0000
(12:52 +0800)
committer
Alan
<alan@roojs.com>
Mon, 27 Mar 2023 04:52:00 +0000
(12:52 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
6571233
..
fc1294d
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-218,7
+218,8
@@
class Pman_Core_Images extends Pman
}
function imgErr($reason,$path) {
- //header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . urlencode($reason));
+ header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . urlencode($reason) );
+ header('X-Error: ' . $reason . ':' . $path);
echo $reason . ':' . $path;
exit;
}