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

test

parent 870f4fcf
......@@ -169,7 +169,8 @@ class Media {
$array["size"] = $this->getfileSize($Pfad.$FilenameOrg);
echo "Berechne MD5... ".'md5sum -b "'.$Pfad.$FilenameOrg.'"';
//$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 "'.$Pfad.$FilenameOrg.'"'),0,32);
$array["md5"] = substr(shell_exec('md5sum -b "'."/tmp/".$array["imdbID"].".xml".'"'),0,32);
echo "done!".PHP_EOL;
//$array["md5"] = md5_file("/tmp/".$array["imdbID"].".xml");
......
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