Fix import
This commit is contained in:
parent
7c46ace042
commit
4a873917ce
@ -1067,6 +1067,10 @@ class Website extends CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Regenerate index page to point to new index page
|
||||||
|
$pathofwebsite = $conf->website->dir_output.'/'.$object->ref;
|
||||||
|
dolSaveIndexPage($pathofwebsite, $pathofwebsite.'/index.php', $pathofwebsite.'/page'.$object->fk_default_home.'.tpl.php', $pathofwebsite.'/wrapper.php');
|
||||||
|
|
||||||
if ($error)
|
if ($error)
|
||||||
{
|
{
|
||||||
$this->db->rollback();
|
$this->db->rollback();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user