Commit 8a0a81a5 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9a99352c
...@@ -183,6 +183,7 @@ class Media { ...@@ -183,6 +183,7 @@ class Media {
//$array["rating"] = $imdb->getRating(); //$array["rating"] = $imdb->getRating();
//$array["Genre"] = $imdb->getGenre(); //$array["Genre"] = $imdb->getGenre();
//$array["Schauspieler"] = $imdb->getCastAsOwn(0, false); //$array["Schauspieler"] = $imdb->getCastAsOwn(0, false);
$fsktemp = $imdb->getCertification(); $fsktemp = $imdb->getCertification();
//var_dump($fsk); //var_dump($fsk);
/*if(!(strpos( $fsk,"West Germany") == false)){ /*if(!(strpos( $fsk,"West Germany") == false)){
...@@ -191,7 +192,7 @@ class Media { ...@@ -191,7 +192,7 @@ class Media {
if(!(strrpos( $fsktemp,"Germany") == false)){ if(!(strrpos( $fsktemp,"Germany") == false)){
$fsk = trim(substr($fsktemp,strrpos( $fsk,"Germany")+8,3)); $fsk = trim(substr($fsktemp,strrpos( $fsk,"Germany")+8,3));
}else{ }else{
$fsk = "";
echo $this->Console->error("keine fsk gefunden!").PHP_EOL; echo $this->Console->error("keine fsk gefunden!").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