1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Download: Fixes #2607 - download links.

This commit is contained in:
Cameron 2017-05-03 11:40:12 -07:00
parent fb02782a3d
commit 4e044b90b9

View File

@ -136,7 +136,7 @@ if ($type == "file")
{
$row = $sql->fetch();
$row['download_url'] = $tp->replaceConstants($row['download_url'],'abs');
$row['download_url'] = $tp->replaceConstants($row['download_url']); // must be relative file-path.
if (check_class($row['download_category_class']) && check_class($row['download_class']))
{