Fixed issue #1.
This commit is contained in:
parent
a0040870a9
commit
f349e9fe26
@ -149,12 +149,14 @@ Class InstallManager extends CoordinationObj
|
|||||||
}
|
}
|
||||||
|
|
||||||
// on verifie que les éléments sont uploadés ou non...
|
// 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();
|
$tabDownLoadCp=array();
|
||||||
for($i=0;$i<count($tabDownload);$i++)
|
for($i=0;$i<count($tabDownload);$i++)
|
||||||
{
|
{
|
||||||
if (strpos($tabDownload[$i][2], ".tar")!==false)
|
if (strpos($tabDownload[$i][2], ".tar")!==false)
|
||||||
$tabDownLoadCp[]=substr($tabDownload[$i][2], 0, (strlen($tabDownload[$i][2])-4));
|
$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
|
//Teste de l'existence des packages et telechargement si on les possede pas deja
|
||||||
|
Loading…
Reference in New Issue
Block a user