From 15e41d0f77f668ff555dd78310e392b024603ccc Mon Sep 17 00:00:00 2001 From: rMalie Date: Thu, 22 Dec 2011 22:41:01 +0000 Subject: [PATCH] // 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 --- install-new/models/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-new/models/install.php b/install-new/models/install.php index a6454ce3c..20991298b 100644 --- a/install-new/models/install.php +++ b/install-new/models/install.php @@ -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; }