Commit 9962a26a authored by Nico Schallehn's avatar Nico Schallehn

test

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