1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-16 12:18:39 +01:00

Fix for broken link when using {DOWNLOAD_LIST_IMAGEFULL=link}

This commit is contained in:
Cameron 2013-10-27 13:18:37 -07:00
parent d39ed3455a
commit c976d6a791
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
require_once("class2.php");
$query = (e_QUERY) ? "?".e_QUERY : "";
$query = (e_QUERY) ? "?".str_replace("&","&",e_QUERY) : "";
e107::getRedirect()->go(e_PLUGIN."download/download.php".$query,true);

View File

@ -373,7 +373,7 @@ class download_shortcodes extends e_shortcode
if($parm == "link" && $this->var['download_image'])
{
return "<a href='".e_BASE."download.php?action=view&id=".$this->var['download_id']."'>".$img."</a>";
return "<a href='".e_PLUGIN_ABS."download/download.php?action=view&id=".$this->var['download_id']."'>".$img."</a>";
}
else
{