Commit e945f417 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 7cfdaca3
...@@ -185,10 +185,10 @@ class Media { ...@@ -185,10 +185,10 @@ class Media {
$fsk = $imdb->getCertification(); $fsk = $imdb->getCertification();
var_dump($fsk); var_dump($fsk);
if(!(strrpos( $fsk,"Germany") == false)){ if(!(strrpos( $fsk,"Germany") == false)){
$array["imdbID"] = substr($fsk,strrpos( $fsk,"Germany")+7,10); $fsk = substr($fsk,strrpos( $fsk,"Germany")+7,10);
} }
var_dump($fsk);
} else{ } else{
echo $this->Console->error("imdbID nicht bei imdb gefunden!").PHP_EOL; echo $this->Console->error("imdbID nicht bei imdb gefunden!").PHP_EOL;
//file_put_contents("./phpTestout/".$array["imdbID"].".txt", "Keine Infos auf imdbID gefunden: ".$Pfad.$FilenameOrg.PHP_EOL, FILE_APPEND); //file_put_contents("./phpTestout/".$array["imdbID"].".txt", "Keine Infos auf imdbID gefunden: ".$Pfad.$FilenameOrg.PHP_EOL, FILE_APPEND);
......
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