//added variable to disable multistore context in module
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17212 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
7cd6898585
commit
76e5b93a45
1 file changed
+3
@@ -623,6 +623,9 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
// If the method called is "configure" (getContent method), we show the html code of configure page
|
// If the method called is "configure" (getContent method), we show the html code of configure page
|
||||||
if ($key == 'configure' && Module::isInstalled($module->name))
|
if ($key == 'configure' && Module::isInstalled($module->name))
|
||||||
{
|
{
|
||||||
|
if (isset($module->multishop_context))
|
||||||
|
$this->multishop_context = $module->multishop_context;
|
||||||
|
|
||||||
$backlink = self::$currentIndex.'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name;
|
$backlink = self::$currentIndex.'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name;
|
||||||
$hooklink = 'index.php?tab=AdminModulesPositions&token='.Tools::getAdminTokenLite('AdminModulesPositions').'&show_modules='.(int)$module->id;
|
$hooklink = 'index.php?tab=AdminModulesPositions&token='.Tools::getAdminTokenLite('AdminModulesPositions').'&show_modules='.(int)$module->id;
|
||||||
$tradlink = 'index.php?tab=AdminTranslations&token='.Tools::getAdminTokenLite('AdminTranslations').'&type=modules&lang=';
|
$tradlink = 'index.php?tab=AdminTranslations&token='.Tools::getAdminTokenLite('AdminTranslations').'&type=modules&lang=';
|
||||||
|
|||||||
Reference in new issue
Block a user