修复文件封面相关问题

This commit is contained in:
zyx0814 2024-06-14 16:45:12 +08:00
parent d0931ea869
commit 4504ceb71d
2 changed files with 2954 additions and 2954 deletions

File diff suppressed because it is too large Load Diff

View File

@ -199,7 +199,7 @@ class table_resources_version extends dzz_table
'postip' => $_G['clientip'], 'postip' => $_G['clientip'],
'title' => $filename, 'title' => $filename,
'aid' => isset($setarr['aid']) ? $setarr['aid'] : '', 'aid' => isset($setarr['aid']) ? $setarr['aid'] : '',
'img'=>geticonfromext($setarr['ext'],$setarr['type']) // 'img'=>geticonfromext($setarr['ext'],$setarr['type'])
); );
//插入属性表 //插入属性表
if (C::t('resources_attr')->insert_attr($rid,$vid,$sourceattrdata)) { if (C::t('resources_attr')->insert_attr($rid,$vid,$sourceattrdata)) {