mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
Fix for broken link when using {DOWNLOAD_LIST_IMAGEFULL=link}
This commit is contained in:
parent
d39ed3455a
commit
c976d6a791
@ -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);
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user