diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-12 22:34:32 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-12 22:34:32 +0200 |
commit | 04b261057d1123a43e72216ecc3c8172bbda32bc (patch) | |
tree | a537ff296dafea954cdc5390c7ec3e46e136dda5 | |
parent | 852343f25448a996298b3b5f892a61b0b7701c7f (diff) | |
download | volse-hubzilla-04b261057d1123a43e72216ecc3c8172bbda32bc.tar.gz volse-hubzilla-04b261057d1123a43e72216ecc3c8172bbda32bc.tar.bz2 volse-hubzilla-04b261057d1123a43e72216ecc3c8172bbda32bc.zip |
Set 'os_syspath' with local path
-rw-r--r-- | include/import.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php index 69be521de..585a0ac84 100644 --- a/include/import.php +++ b/include/import.php @@ -1417,6 +1417,8 @@ function sync_files($channel, $files) { $x = z_post_url($fetch_url,$parr,$redirects,[ 'filep' => $fp, 'headers' => $headers]); fclose($fp); + $p['os_syspath'] = $stored_image; + // Override remote hub thumbnails storage settings if(! boolval(get_config('system','filesystem_storage_thumbnails', 0))) { $p['os_storage'] = 0; @@ -1425,7 +1427,6 @@ function sync_files($channel, $files) { } else { $p['os_storage'] = 1; - $p['os_syspath'] = $stored_image; $p['content'] = $stored_image; } } |