redirection problem
-
I have a problem with redirection. I have presta 1.5.3.1, and this plugin doesn’t work for me. I read FAQ and insert this code to Shop.php
--- classes/shop/Shop.php.orig 2013-01-07 09:18:32.000000000 +0100 +++ classes/shop/Shop.php 2013-01-07 09:25:26.000000000 +0100 @@ -368,6 +368,9 @@ if (!Validate::isLoadedObject($default_shop)) throw new PrestaShopException('Shop not found'); + if (defined('PRESTASHOP_INTEGRATION_VERSION')) { + $shop = $default_shop; + } else { $params = $_GET; unset($params['id_shop']); if (!Configuration::get('PS_REWRITING_SETTINGS')) @@ -388,6 +391,7 @@ } header('location: '.$url); exit; + } } }
But now my site is broken.. Presta and wordpress doesn’t work, how can i fix it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘redirection problem’ is closed to new replies.