// Fix #PSFV-30 + context part 24
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7792 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -162,7 +162,7 @@ class ThemeInstallator extends Module
|
||||
|
||||
private function init_defines()
|
||||
{
|
||||
global $currentIndex, $cookie;
|
||||
global $cookie;
|
||||
|
||||
define('_EXPORT_FOLDER_', dirname(__FILE__).'/export/');
|
||||
define('_IMPORT_FOLDER_', dirname(__FILE__).'/import/');
|
||||
@@ -174,7 +174,7 @@ class ThemeInstallator extends Module
|
||||
|
||||
if (!Tools::isSubmit('cancelExport') AND (Tools::isSubmit('exportTheme') OR Tools::isSubmit('submitExport')))
|
||||
$this->page = 'exportPage';
|
||||
$this->_html = '<form action="'.$currentIndex.'&configure='.$this->name.'&token='.Tools::htmlentitiesUTF8(Tools::getValue('token')).'" method="POST" enctype=multipart/form-data>';
|
||||
$this->_html = '<form action="'.AdminTab::$currentIndex.'&configure='.$this->name.'&token='.Tools::htmlentitiesUTF8(Tools::getValue('token')).'" method="POST" enctype=multipart/form-data>';
|
||||
|
||||
if (Tools::isSubmit('modulesToExport') OR Tools::isSubmit('submitModules'))
|
||||
$this->to_export = Tools::getValue('modulesToExport');
|
||||
|
||||
Reference in New Issue
Block a user