Skip to content
Snippets Groups Projects
Commit 5e3e50ba authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

FEAT #3210

parent 81d3762f
No related branches found
No related tags found
No related merge requests found
...@@ -1044,12 +1044,16 @@ class docservers_controler ...@@ -1044,12 +1044,16 @@ class docservers_controler
//Removes . and .. lines //Removes . and .. lines
array_shift($fileTab); array_shift($fileTab);
array_shift($fileTab); array_shift($fileTab);
if (file_exists( if (file_exists(
$pathOnDocserver . DIRECTORY_SEPARATOR . 'package_information' $pathOnDocserver . DIRECTORY_SEPARATOR . 'package_information'
) )
) { ) {
unset($fileTab[array_search('package_information', $fileTab)]); unset($fileTab[array_search('package_information', $fileTab)]);
} }
if (is_dir($pathOnDocserver . DIRECTORY_SEPARATOR . 'BATCH')) {
unset($fileTab[array_search('BATCH', $fileTab)]);
}
$nbFiles = count($fileTab); $nbFiles = count($fileTab);
//Docserver is empty //Docserver is empty
if ($nbFiles == 0 ) { if ($nbFiles == 0 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment