[-] Installer: Fix 2 path for the upgrader

This commit is contained in:
Rémi Gaillard
2013-02-22 17:25:35 +01:00
parent 5f7e9510e9
commit bde0215fbb
2 changed files with 4 additions and 4 deletions
@@ -36,7 +36,7 @@ function gridextjs_deprecated()
if (defined('_PS_ROOT_DIR_'))
$gridextjs_path = _PS_ROOT_DIR_ . '/modules/gridextjs';
else
$gridextjs_path = dirname(__FILE__).'/../../modules/gridextjs';
$gridextjs_path = dirname(__FILE__).'/../../../modules/gridextjs';
if (file_exists($gridextjs_path))
return rename($gridextjs_path, str_replace('gridextjs', 'gridextjs.deprecated', $gridextjs_path));