projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6fa62
)
Images.php
author
Chris
<chris@roojs.com>
Tue, 20 Aug 2013 06:29:22 +0000
(14:29 +0800)
committer
Chris
<chris@roojs.com>
Tue, 20 Aug 2013 06:29:22 +0000
(14:29 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
68c0286
..
eb5be9f
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-174,10
+174,10
@@
class Pman_Core_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."));
- print_r($id);exit;
+
}
$this->serve($img);
exit;