Commit c1773835 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 10c46b53
......@@ -565,13 +565,14 @@ class Media {
echo "Film wurde innerhalb der jetzten 30 Tage Aktualisiert (md5 Prüfung)!".PHP_EOL;
return false;
}
var_dump($DataArr);
echo " Berechne MD5... ";
$DataArr["md5"] = substr(shell_exec('md5sum -b "'.$File.'"'),0,32);
file_put_contents("./phpTestout/".$DataArr['imdbID'].".txt", "md5 = ".$DataArr["md5"].PHP_EOL, FILE_APPEND);
$DataArr["lastUpdate"] = date("Y-m-d");
echo " done!".PHP_EOL;
}
$changed = "";
$first = true;
$update = "";
......
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