mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy (2)
This commit is contained in:
@@ -26,7 +26,7 @@ class Af_Zz_ImgProxy extends Plugin {
|
||||
function hook_enclosure_entry($enc) {
|
||||
$proxy_all = $this->host->get($this, "proxy_all");
|
||||
|
||||
$enc["url"] = $this->rewrite_url_if_needed($enc["url"], $proxy_all);
|
||||
$enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], $proxy_all);
|
||||
|
||||
return $enc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user