// Fix PS_CIPHER_ALGORITHM in new install

This commit is contained in:
rMalie committed 2011-12-22 22:41:01 +00:00
1 parent 4d6f6fbfd8
commit ef0b4f35d3
1 file changed
+1 -1
+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;
}