Debug v17
This commit is contained in:
parent
216c4f02b6
commit
d0858d8eaa
@ -730,6 +730,7 @@ function checkPHPCode($phpfullcodestringold, $phpfullcodestring)
|
||||
if (!$error) {
|
||||
$dolibarrdataroot = preg_replace('/([\\/]+)$/i', '', DOL_DATA_ROOT);
|
||||
$allowimportsite = true;
|
||||
include DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||
if (dol_is_file($dolibarrdataroot.'/installmodules.lock')) {
|
||||
$allowimportsite = false;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user