file sync testing continued
This commit is contained in:
parent
6650916435
commit
9831ad515d
@ -895,6 +895,10 @@ function sync_files($channel,$files) {
|
||||
|
||||
$newfname = 'store/' . $channel['channel_address'] . '/' . get_attach_binname($att['data']);
|
||||
|
||||
unset($att['id']);
|
||||
$att['aid'] = $channel['channel_account_id'];
|
||||
$att['uid'] = $channel['channel_id'];
|
||||
|
||||
if($att['filetype'] === 'multipart/mixed' && $att['is_dir']) {
|
||||
os_mkdir($newfname, STORAGE_DEFAULT_PERMISSIONS,true);
|
||||
$att['data'] = $newfname;
|
||||
|
Reference in New Issue
Block a user