mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +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");
|
||||
|
||||
$this->templateHeader = e107::getTemplate('download','download','header');
|
||||
$this->templateFooter = e107::getTemplate('download','download','footer');
|
||||
if(deftrue('BOOTSTRAP')) // v2.x
|
||||
{
|
||||
$this->templateHeader = e107::getTemplate('download','download','header');
|
||||
$this->templateFooter = e107::getTemplate('download','download','footer');
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->templateHeader = '';
|
||||
$this->templateFooter = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user