Revision 5daf1cf9
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
SL/File.pm | ||
---|---|---|
191 | 191 |
|
192 | 192 |
sub _save { |
193 | 193 |
my ($self, %params) = @_; |
194 |
$main::lxdebug->dump(0, 'WH: PARAMS', \%params); |
|
195 | 194 |
my $file = $params{dbfile}; |
196 | 195 |
my $exists = 0; |
197 | 196 |
|
... | ... | |
247 | 246 |
if($file->object_type eq "shop_image"){ |
248 | 247 |
my $image_content = $params{file_contents}; |
249 | 248 |
my $thumbnail = file_probe_type($image_content); |
250 |
$main::lxdebug->dump(0, 'WH: THUMB ',$thumbnail); |
|
251 | 249 |
my $shopimage = SL::DB::ShopImage->new(); |
252 | 250 |
$shopimage->assign_attributes( |
253 | 251 |
file_id => $file->id, |
Auch abrufbar als: Unified diff
Shopmodul: Aufräumarbeiten