Remove hardcoded URL for returned images
This commit is contained in:
1 parent
a4217d4b6a
commit
066bcd25ff
1 file changed
+1
-1
@@ -13,7 +13,7 @@ class NewsImage extends Model {
|
|||||||
// Deserialisatie van JSON heeft url in data,
|
// Deserialisatie van JSON heeft url in data,
|
||||||
// lezen uit database heeft file en (als het goed is) urlPrefix
|
// lezen uit database heeft file en (als het goed is) urlPrefix
|
||||||
if(isset($data->file)) {
|
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