mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Fix for legacy download-template header and footer.
This commit is contained in:
@@ -25,8 +25,16 @@ class download
|
|||||||
|
|
||||||
require_once(e_PLUGIN."download/download_shortcodes.php");
|
require_once(e_PLUGIN."download/download_shortcodes.php");
|
||||||
|
|
||||||
|
if(deftrue('BOOTSTRAP')) // v2.x
|
||||||
|
{
|
||||||
$this->templateHeader = e107::getTemplate('download','download','header');
|
$this->templateHeader = e107::getTemplate('download','download','header');
|
||||||
$this->templateFooter = e107::getTemplate('download','download','footer');
|
$this->templateFooter = e107::getTemplate('download','download','footer');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->templateHeader = '';
|
||||||
|
$this->templateFooter = '';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user