[fix] bad path destination for video with import script

This commit is contained in:
Knah Tsaeb 2013-08-12 15:37:18 +02:00
parent 20ac2e2d7f
commit aff0176d18
1 changed files with 1 additions and 1 deletions

View File

@ -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'], "<?php\n\$fullListFile=".var_export($fullListFile, true).";\n?>");