Fixed issue #1.

This commit is contained in:
Rooty 2020-12-07 16:28:54 +01:00
parent a0040870a9
commit f349e9fe26

View File

@ -149,12 +149,14 @@ Class InstallManager extends CoordinationObj
}
// on verifie que les éléments sont uploadés ou non...
$tabDownload=$backup->getContentDir($GLOBALS["CONF_DATA_PATH"]."data/upload/install/packagesrc/");
if( $tabDownload=$backup->getContentDir($GLOBALS["CONF_DATA_PATH"]."data/upload/install/packagesrc/") )
{
$tabDownLoadCp=array();
for($i=0;$i<count($tabDownload);$i++)
{
if (strpos($tabDownload[$i][2], ".tar")!==false)
$tabDownLoadCp[]=substr($tabDownload[$i][2], 0, (strlen($tabDownload[$i][2])-4));
}
}
//Teste de l'existence des packages et telechargement si on les possede pas deja