diff --git a/index.php b/index.php index 01b7ba5..740ca91 100644 --- a/index.php +++ b/index.php @@ -239,7 +239,7 @@ function importDir($bc, $fullListDir, $fullListFile) { ); $url = escapeshellcmd($value['url']); - $data = $key.' '.$url.' '.$path."\n"; + $data = $key.' '.$url.' '.$path.$file['hash']."\n"; file_put_contents($GLOBALS['config']['TMPDIR'].'/'.$key.'.hash', $data); } file_put_contents($GLOBALS['config']['LISTFILE'], "");