// 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:
rMalie
2011-12-22 22:41:01 +00:00
parent 0e07893041
commit 15e41d0f77
+1 -1
View File
@@ -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;
}