Merge pull request #113 from Boyquotes/master

Correct link during the installation process and config url website
This commit is contained in:
Manuel Raynaud
2013-11-27 01:10:10 -08:00
3 changed files with 14 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ if (!file_exists(THELIA_CONF_DIR . 'database.yml') && !defined('THELIA_INSTALL_M
define('THELIA_INSTALL_MODE', true);
} else {
$request = \Thelia\Core\HttpFoundation\Request::createFromGlobals();
header('location: '.$request->getSchemeAndHttpHost() . '/install');
header('location: '.$request->getUriForPath() . '/install');
exit;
}
}
}