// no controllerUri for front office please
This commit is contained in:
1 parent
2e00a1662e
commit
68cdfd0dae
1 file changed
+2
-1
@@ -648,7 +648,8 @@ class DispatcherCore
|
||||
*/
|
||||
public function getController()
|
||||
{
|
||||
$_GET['controllerUri'] = Tools::getvalue('controller');
|
||||
if (defined('_PS_ADMIN_DIR_'))
|
||||
$_GET['controllerUri'] = Tools::getvalue('controller');
|
||||
if ($this->controller)
|
||||
{
|
||||
$_GET['controller'] = $this->controller;
|
||||
|
||||
Reference in new issue
Block a user