projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce9093
)
Pman/Images.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 4 Nov 2010 05:15:22 +0000
(13:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 4 Nov 2010 05:15:22 +0000
(13:15 +0800)
Pman/Images.php
patch
|
blob
|
history
diff --git
a/Pman/Images.php
b/Pman/Images.php
index
2a47586
..
64b4b63
100644
(file)
--- a/
Pman/Images.php
+++ b/
Pman/Images.php
@@
-130,6
+130,7
@@
class Pman_Images extends Pman
{
require_once 'File/Convert.php';
if (!file_exists($img->getStoreName())) {
+ header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png');
die("Original file was missing : " . $img->getStoreName());
}