diff options
| -rwxr-xr-x | liberty_plugins/mime.flatdefault.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liberty_plugins/mime.flatdefault.php b/liberty_plugins/mime.flatdefault.php index b4b3e01..1a416cf 100755 --- a/liberty_plugins/mime.flatdefault.php +++ b/liberty_plugins/mime.flatdefault.php @@ -297,7 +297,7 @@ if( !function_exists( '\Bitweaver\Liberty\mime_default_load' )) { // e.g.: video files are large and the original might be deleted after conversion if( is_file( STORAGE_PKG_PATH.$storageBranch )) { $ret['source_file'] = STORAGE_PKG_PATH.$storageBranch; - $ret['source_url'] = LIBERTY_PKG_URL.'download/file/'.$pFileHash['attachment_id']; + $ret['source_url'] = STORAGE_PKG_URL.$storageBranch; $ret['last_modified'] = filemtime( $ret['source_file'] ); $ret['download_url'] = $gBitSystem->isFeatureActive( "pretty_urls" ) || $gBitSystem->isFeatureActive( "pretty_urls_extended" ) ? LIBERTY_PKG_URL."download/file/".$row['attachment_id'] |
