[fix] bad path destination for video with import script
This commit is contained in:
parent
20ac2e2d7f
commit
aff0176d18
|
@ -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?>");
|
||||
|
|
Loading…
Reference in New Issue