Remove hardcoded URL for returned images
This commit is contained in:
@@ -13,7 +13,7 @@ class NewsImage extends Model {
|
||||
// Deserialisatie van JSON heeft url in data,
|
||||
// lezen uit database heeft file en (als het goed is) urlPrefix
|
||||
if(isset($data->file)) {
|
||||
$this->url = 'http://www.6fm.nl' . $urlPrefix . $data->file;
|
||||
$this->url = $urlPrefix . $data->file;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user