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

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