projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e0f0f
)
Images.php
author
Alan
<alan@roojs.com>
Mon, 27 Mar 2023 04:46:12 +0000
(12:46 +0800)
committer
Alan
<alan@roojs.com>
Mon, 27 Mar 2023 04:46:12 +0000
(12:46 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
146c533
..
3bff2e3
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-288,10
+288,7
@@
class Pman_Core_Images extends Pman
require_once 'File/Convert.php';
if (!file_exists($img->getStoreName())) {
- header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=missing-image-see-original-response');
- echo "Original file was missing : " . $img->getStoreName();
- exit;
-
+ $this->imgError("serve = missing-image");
}
// print_r($img);exit;