Commit e8650cbe authored by Nico Schallehn's avatar Nico Schallehn

test

parent e945f417
...@@ -185,7 +185,7 @@ class Media { ...@@ -185,7 +185,7 @@ class Media {
$fsk = $imdb->getCertification(); $fsk = $imdb->getCertification();
var_dump($fsk); var_dump($fsk);
if(!(strrpos( $fsk,"Germany") == false)){ if(!(strrpos( $fsk,"Germany") == false)){
$fsk = substr($fsk,strrpos( $fsk,"Germany")+7,10); $fsk = substr($fsk,strrpos( $fsk,"Germany"),15);
} }
...@@ -196,7 +196,7 @@ class Media { ...@@ -196,7 +196,7 @@ class Media {
} }
echo " done!".PHP_EOL; echo " done!".PHP_EOL;
echo $fsk."FSK =>".$Film["name"].PHP_EOL; echo ">".$fsk."<FSK =>".$Film["name"].PHP_EOL;
} }
echo PHP_EOL; echo PHP_EOL;
$end = time(); $end = time();
......
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