mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Fix for broken link when using {DOWNLOAD_LIST_IMAGEFULL=link}
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
require_once("class2.php");
|
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);
|
e107::getRedirect()->go(e_PLUGIN."download/download.php".$query,true);
|
||||||
|
|
||||||
|
@@ -373,7 +373,7 @@ class download_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
if($parm == "link" && $this->var['download_image'])
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user