// normalization / minor fix in php upgrader files

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12519 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2012-01-18 10:02:57 +00:00
parent f0ca064723
commit 8e32a164b2
39 changed files with 583 additions and 224 deletions
@@ -8,9 +8,12 @@ function update_for_13version()
return; // if the old version is a 1.4 version
// Disable the Smarty 3
Configuration::updateValue('PS_FORCE_SMARTY_2', 1);
// Disable the URL rewritting
Configuration::updateValue('PS_REWRITING_SETTINGS', 0);
// Disable Canonical redirection
Configuration::updateValue('PS_CANONICAL_REDIRECT', 0);
$res = Db::getInstance()->getValue('REPLACE INTO `'._DB_PREFIX_.'configuration`
(name, value) VALUES
("PS_FORCE_SMARTY_2", "1"),
("PS_REWRITING_SETTINGS", "0")
("PS_CANONICAL_REDIRECT", "0")
');
}