1
0
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:
Cameron
2013-10-27 13:27:08 -07:00
parent c976d6a791
commit 7e61dda748

View File

@@ -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 = '';
}
}