Constants...

This commit is contained in:
2015-10-21 15:28:56 +02:00
parent 0b4efeb2ed
commit cb6056ecd7
3 changed files with 39 additions and 26 deletions

View File

@@ -24,6 +24,7 @@ Route::get('/', function()
$tmdb = new TMDb(Config::get('constants.tvdb.apikey'), 'de', TRUE);
foreach(array("top" => $mg[0], "neu" => $vorgeschlagen[0], "alt" => $gesehen[0]) as $key => $val) {
$tmovie = $tmdb->getMovie($val->tvdbid);
dd($tmovie);
$images[$key] = $tmdb->getImageUrl($tmovie['poster_path'], TMDb::IMAGE_POSTER, 'w342');
}