This commit is contained in:
Laurent Destailleur 2020-04-15 03:39:40 +02:00
parent 6e9cbe5b70
commit 4c4c4f8bd6

View File

@ -936,7 +936,7 @@ if ($action == 'addcontainer')
} else {
$filetpl = $pathofwebsite.'/page'.$pageid.'.tpl.php';
// Generate the index.php page to be the home page
// Generate the index.php page (to be the home page) and wrapper.php file
$result = dolSaveIndexPage($pathofwebsite, $fileindex, $filetpl, $filewrapper);
if ($result <= 0) setEventMessages('Failed to write file '.$fileindex, null, 'errors');