projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e2e08d
)
Images.php
author
edward
<edward@roojs.com>
Thu, 22 Feb 2018 04:18:34 +0000
(12:18 +0800)
committer
edward
<edward@roojs.com>
Thu, 22 Feb 2018 04:18:34 +0000
(12:18 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
1e4a5bc
..
474eb64
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-105,7
+105,7
@@
class Pman_Core_Images extends Pman
$id = empty($bits[0]) ? 0 : $bits[0];
}
- print_R($this);exit;
+
if (strpos($id,':') > 0) { // id format tablename:id:-imgtype
if (!$this->authUser) {
@@
-271,7
+271,6
@@
class Pman_Core_Images extends Pman
}
// print_r($img);exit;
$x = $img->toFileConvert();
- print_R($img);exit;
if (empty($this->as_mimetype) || $img->mimetype == 'image/gif') {
$this->as_mimetype = $img->mimetype;
}