From 2aeae17ba6bd6f00583823e25d32ca06935cda00 Mon Sep 17 00:00:00 2001 From: rMalie Date: Thu, 22 Dec 2011 21:59:43 +0000 Subject: [PATCH] // Fix PS_CIPHER_ALGORITHM in new install git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11703 b9a71923-0436-4b27-9f14-aed3839534dd --- install-new/models/install.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-new/models/install.php b/install-new/models/install.php index a09cea8b4..0fa047ba7 100644 --- a/install-new/models/install.php +++ b/install-new/models/install.php @@ -112,6 +112,8 @@ class InstallModelInstall extends InstallAbstractModel $settings_constants['_RIJNDAEL_KEY_'] = Tools::passwdGen(mcrypt_get_key_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_ECB)); $settings_constants['_RIJNDAEL_IV_'] = base64_encode(mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128, MCRYPT_MODE_ECB), MCRYPT_RAND)); } + else + Configuration::updateGlobalValue('PS_CIPHER_ALGORITHM', 0); $settings_content = " $value)