projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90f4369
)
Pman/Images.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 4 Nov 2010 05:23:42 +0000
(13:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 4 Nov 2010 05:23:42 +0000
(13:23 +0800)
Pman/Images.php
patch
|
blob
|
history
diff --git
a/Pman/Images.php
b/Pman/Images.php
index
8eaaad8
..
d3e77ad
100644
(file)
--- a/
Pman/Images.php
+++ b/
Pman/Images.php
@@
-117,7
+117,7
@@
class Pman_Images extends Pman
$img = DB_DataObjecT::factory('Images');
if (!$id || !$img->get($id)) {
- print_r($id);exit;
+
header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .
urlencode("image has been removed or deleted."));
}