Commit 0ce45059 authored by Nico Schallehn's avatar Nico Schallehn

test

parent a1636315
......@@ -227,7 +227,7 @@ class Media {
break;
}
}
echo "Berechne MD5... ".'md5sum -b "'.$Pfad.$FilenameOrg.'"';
echo "Berechne MD5... Falsche MD5";
//$array["md5"] = md5_file($Pfad.$FilenameOrg); //TODO Einkommentieren für md5
//$array["md5"] = substr(shell_exec('md5sum -b "'.$Pfad.$FilenameOrg.'"'),0,32);
$array["md5"] = substr(shell_exec('md5sum -b "'."/tmp/".$array["imdbID"].".xml".'"'),0,32);
......@@ -238,7 +238,7 @@ class Media {
echo "Kopiere datei...";
$copy = 'mv "'.$Pfad.$FilenameOrg.'" "'.$this->PfadzumAusgeben.'"';
file_put_contents("./phpTestout/".$array['imdbID'].".txt", $copy.PHP_EOL, FILE_APPEND);
echo "done!".PHP_EOL;
echo $copy."done!".PHP_EOL;
return true;
}
else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment