diff --git a/e107_plugins/download/handlers/download_class.php b/e107_plugins/download/handlers/download_class.php index 92b002ae0..e73a29c27 100644 --- a/e107_plugins/download/handlers/download_class.php +++ b/e107_plugins/download/handlers/download_class.php @@ -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 = ''; + } }