save website url in install process

This commit is contained in:
Manuel Raynaud
2013-10-24 19:45:51 +02:00
parent bba21b2a94
commit 72f9cbb305
4 changed files with 11 additions and 2 deletions

View File

@@ -43,6 +43,10 @@ if($_SESSION['install']['step'] == 5) {
\Thelia\Model\ConfigQuery::create()
->filterByName('company_name')
->update(array('Value' => $_POST['company_name']));
\Thelia\Model\ConfigQuery::create()
->filterByName('url_site')
->update(array('Value' => $_POST['url_site']));
}
//clean up cache directories