// Added a configuration variable when logged on addons from the back end

This commit is contained in:
Damien Metzger committed 2013-02-01 17:47:51 +01:00
1 parent 7f59b7254b
commit 3b2be13f2e
1 file changed
+1
@@ -208,6 +208,7 @@ class AdminModulesControllerCore extends AdminController
die ('KO'); die ('KO');
if ($result == 'OK') if ($result == 'OK')
{ {
Configuration::updateValue('PS_LOGGED_ON_ADDONS', 1);
$this->context->cookie->username_addons = pSQL(trim(Tools::getValue('username_addons'))); $this->context->cookie->username_addons = pSQL(trim(Tools::getValue('username_addons')));
$this->context->cookie->password_addons = pSQL(trim(Tools::getValue('password_addons'))); $this->context->cookie->password_addons = pSQL(trim(Tools::getValue('password_addons')));
} }