// added upgrade files (sql and php) in new installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12379 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2012-01-11 17:57:49 +00:00
parent c869ca4550
commit be2ee1b8da
157 changed files with 10495 additions and 0 deletions
@@ -0,0 +1,16 @@
<?php
function update_for_13version()
{
global $oldversion;
if (version_compare($oldversion, '1.4.0.1') >= 0)
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);
}