34 lines
942 B
PHP
34 lines
942 B
PHP
<?php
|
|
/**
|
|
* File from http://PrestaShow.pl
|
|
*
|
|
* DISCLAIMER
|
|
* Do not edit or add to this file if you wish to upgrade this module to newer
|
|
* versions in the future.
|
|
*
|
|
* @authors PrestaShow.pl <kontakt@prestashow.pl>
|
|
* @copyright 2015 PrestaShow.pl
|
|
* @license http://PrestaShow.pl/license
|
|
*/
|
|
require_once dirname(__FILE__) . "/../../config.php";
|
|
|
|
class PShowImporterUpdateController extends PShowUpdateController
|
|
{
|
|
|
|
public $select_menu_tab = 'subtab-PShowImporterMain';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
Context::getContext()->smarty->assign('lang_iso', $this->context->language->iso_code);
|
|
|
|
if (class_exists('PShow_Import_Object_Multistore') && !property_exists(Shop, 'mod_from_pshowimporter_v')) {
|
|
$this->alerts[] = array(
|
|
'danger',
|
|
$this->l('Module reinstallation required!')
|
|
);
|
|
}
|
|
}
|
|
}
|