projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e05ce5
)
Images.php
author
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 06:56:03 +0000
(14:56 +0800)
committer
Alan
<alan@roojs.com>
Mon, 10 Jan 2022 06:56:03 +0000
(14:56 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
ed52cc5
..
9b23f39
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-538,7
+538,7
@@
class Pman_Core_Images extends Pman
{
$d = DB_DataObject::Factory('Images');
$d->object($obj);
- $d->name = 'image-'. self::$image++;
+ $d->
file
name = 'image-'. self::$image++;
$d->createFromData($img->getAttribute('src'));
$img->setAttribute('src', $d->URL(-1, 'Images' , $baseURL));
}