From bedf001ffaf16ef46f91e9119d2f6b524f1b2792 Mon Sep 17 00:00:00 2001 From: alberto.alvarez Date: Tue, 14 Jul 2020 20:52:50 +0200 Subject: [PATCH] CAMBIO DE NOMBRE DE CONTROLADOR --- config.xml | 2 +- controllers/admin/Adminimaxxaddcatbyfeature.php | 16 ++++++++++++++++ controllers/admin/Adminxaddcatbyfeature.php | 16 ---------------- imaxaddcatbyfeature.php | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 controllers/admin/Adminimaxxaddcatbyfeature.php delete mode 100644 controllers/admin/Adminxaddcatbyfeature.php diff --git a/config.xml b/config.xml index 793bd6d..db83815 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ imaxaddcatbyfeature - + diff --git a/controllers/admin/Adminimaxxaddcatbyfeature.php b/controllers/admin/Adminimaxxaddcatbyfeature.php new file mode 100644 index 0000000..6c24f9c --- /dev/null +++ b/controllers/admin/Adminimaxxaddcatbyfeature.php @@ -0,0 +1,16 @@ +id_employee)); + header('Location: index.php?configure=imaxaddcatbyfeature&tab_module=administration&module_name=imaxaddcatbyfeature&controller=AdminModules&token=' . $token); + exit; + + } + public function initContent() { + global $cookie; + $token = md5(pSQL(_COOKIE_KEY_ . 'AdminModules' . (int) Tab::getIdFromClassName('AdminModules') . (int) $cookie->id_employee)); + header('Location: index.php?configure=imaxaddcatbyfeature&tab_module=administration&module_name=imaxaddcatbyfeature&controller=AdminModules&token=' . $token); + exit; + } +} diff --git a/controllers/admin/Adminxaddcatbyfeature.php b/controllers/admin/Adminxaddcatbyfeature.php deleted file mode 100644 index 6c24f9c..0000000 --- a/controllers/admin/Adminxaddcatbyfeature.php +++ /dev/null @@ -1,16 +0,0 @@ -id_employee)); - header('Location: index.php?configure=imaxaddcatbyfeature&tab_module=administration&module_name=imaxaddcatbyfeature&controller=AdminModules&token=' . $token); - exit; - - } - public function initContent() { - global $cookie; - $token = md5(pSQL(_COOKIE_KEY_ . 'AdminModules' . (int) Tab::getIdFromClassName('AdminModules') . (int) $cookie->id_employee)); - header('Location: index.php?configure=imaxaddcatbyfeature&tab_module=administration&module_name=imaxaddcatbyfeature&controller=AdminModules&token=' . $token); - exit; - } -} diff --git a/imaxaddcatbyfeature.php b/imaxaddcatbyfeature.php index 5505d33..f799edb 100644 --- a/imaxaddcatbyfeature.php +++ b/imaxaddcatbyfeature.php @@ -19,7 +19,7 @@ class ImaxAddCatbyFeature extends Module { public function __construct() { $this->name = 'imaxaddcatbyfeature'; $this->tab = 'administration'; - $this->version = '1.2'; + $this->version = '1.3'; $this->author = 'Informax'; $this->need_instance = 0; $this->idManual = ''; -- libgit2 0.21.4