// changes to header and footer

This commit is contained in:
tDidierjean
2011-08-10 13:11:56 +00:00
parent 792ce71cd4
commit d8cbb2bafc
4 changed files with 14 additions and 10 deletions

View File

@@ -505,10 +505,8 @@ class FrontControllerCore
$this->init();
// if this function is called from a module, do a fast init
else if (!$this->context)
{
$this->context = Context::getContext();
$this->setMedia();
}
// P3P Policies (http://www.w3.org/TR/2002/REC-P3P-20020416/#compact_policies)
header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');
@@ -551,10 +549,7 @@ class FrontControllerCore
$this->init();
// if this function is called from a module, do a fast init
else if (!$this->context)
{
$this->context = Context::getContext();
$this->setMedia();
}
$this->context->smarty->assign(array(
'HOOK_RIGHT_COLUMN' => Module::hookExec('rightColumn', array('cart' => $this->context->cart)),