FIX Remane of project

This commit is contained in:
Laurent Destailleur 2019-03-26 12:35:44 +01:00
parent 3ede626932
commit e5f54bd14c

View File

@ -338,7 +338,7 @@ class Project extends CommonObject
if (file_exists($olddir)) if (file_exists($olddir))
{ {
include_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php'; include_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
$res=dol_move($olddir, $newdir); $res=@rename($olddir, $newdir);
if (! $res) if (! $res)
{ {
$langs->load("errors"); $langs->load("errors");