projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae7196
)
DataObjects/Images.php
author
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 06:58:51 +0000
(14:58 +0800)
committer
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 06:58:51 +0000
(14:58 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
9e7d288
..
5704472
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-849,7
+849,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
}
static $imgid = 1;
if (empty($this->filename)) {
- require_once 'File/Mime
t
ype.php';
+ require_once 'File/Mime
T
ype.php';
$y = new File_MimeType();
$this->filename = 'image-'.$imgid++.'.'.$y->toExt($this->mimetype);
}