Commit c94ffa16 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 473e0b62
...@@ -231,7 +231,7 @@ class Media { ...@@ -231,7 +231,7 @@ class Media {
//$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;
if( $this->addMovie($array)){ if( $this->addMovie($array)){
echo "Kopiere datei..."; echo "Kopiere datei...";
...@@ -282,7 +282,7 @@ class Media { ...@@ -282,7 +282,7 @@ class Media {
}else{ }else{
$keys[] = $key; $keys[] = $key;
$values[] = "'".$value."'"; $values[] = "'".$value."'";
echo " ".$key." => '".$value."'".PHP_EOL; //echo " ".$key." => '".$value."'".PHP_EOL;
} }
} }
......
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