// Fix PS_CIPHER_ALGORITHM in new install
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11718 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -69,7 +69,7 @@ class InstallModelInstall extends InstallAbstractModel
|
||||
|
||||
// If no mcrypt, do not use RIJNDAEL algorithm
|
||||
if (!function_exists('mcrypt'))
|
||||
Configuration::updateGlobalValue('PS_CIPHER_ALGORITHM', 0);
|
||||
Db::getInstance()->execute('UPDATE `'._DB_PREFIX_.'configuration` SET `value` = 0 WHERE `name` = \'PS_CIPHER_ALGORITHM\'');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user