Skip to content
Permalink
Browse files

Update website templates

  • Loading branch information
eldy committed Dec 2, 2019
1 parent 7908e0c commit 32a539a8c0c381815e25ca97c9eebd04043707a0
Showing with 2 additions and 2 deletions.
  1. +1 −1 htdocs/core/modules/modWebsite.class.php
  2. +1 −1 htdocs/website/index.php
@@ -189,7 +189,7 @@ public function init($options = '')
$src=$srcroot.'/'.$cursorfile['name'];
$dest=$destroot.'/'.$cursorfile['name'];
$result=dol_copy($src, $dest, 0, 0);
$result=dol_copy($src, $dest, 0, 1); // For full zip templates, we overwrite old existing files
if ($result < 0) {
$langs->load("errors");
$this->error=$langs->trans('ErrorFailToCopyFile', $src, $dest);
@@ -2124,7 +2124,7 @@
}
elseif (empty($virtualurl))
{
$htmltext .= '<br><span class="error">'.$langs->trans("VirtualHostUrlNotDefined").'</span><br><br>';
//$htmltext .= '<br><span class="error">'.$langs->trans("VirtualHostUrlNotDefined").'</span><br><br>';
}
else
{

0 comments on commit 32a539a

Please sign in to comment.
You can’t perform that action at this time.