// Fix strict standard on controllers + modules header / footer include

This commit is contained in:
rMalie
2011-09-23 08:05:31 +00:00
parent 94a8df8da6
commit 65e0f2d54f
16 changed files with 40 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2011 PrestaShop
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -28,7 +28,10 @@
if (isset(Context::getContext()->controller))
$controller = Context::getContext()->controller;
else
{
$controller = new FrontController();
$controller->init();
}
$controller->displayHeader();
$controller->processHeader();
Context::getContext()->smarty->display(_PS_THEME_DIR_.'header.tpl');