//remove debug
This commit is contained in:
1 parent
2d30a966c3
commit
12cb5316ee
2 files changed
-2
No files matched your search
@@ -150,7 +150,6 @@ abstract class ControllerCore
|
|||||||
$this->init();
|
$this->init();
|
||||||
if ($this->checkAccess())
|
if ($this->checkAccess())
|
||||||
{
|
{
|
||||||
|
|
||||||
// setMedia MUST be called before postProcess
|
// setMedia MUST be called before postProcess
|
||||||
if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
|
if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
|
||||||
$this->setMedia();
|
$this->setMedia();
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ class CategoryControllerCore extends FrontController
|
|||||||
|
|
||||||
public function canonicalRedirection($canonicalURL = '')
|
public function canonicalRedirection($canonicalURL = '')
|
||||||
{
|
{
|
||||||
return ;
|
|
||||||
if (!Validate::isLoadedObject($this->category) || !$this->category->inShop() || !$this->category->isAssociatedToShop())
|
if (!Validate::isLoadedObject($this->category) || !$this->category->inShop() || !$this->category->isAssociatedToShop())
|
||||||
{
|
{
|
||||||
$this->redirect_after = '404';
|
$this->redirect_after = '404';
|
||||||
|
|||||||
Reference in new issue
Block a user