af_zz_imgproxy: fix typo
This commit is contained in:
parent
454292b295
commit
ff4f2b1e0c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Af_Zz_ImgProxy extends Plugin {
|
||||||
if (preg_match("/image/", $enc["content_type"]) || preg_match("/\.(jpe?g|png|gif|bmp)$/i", $enc["filename"])) {
|
if (preg_match("/image/", $enc["content_type"]) || preg_match("/\.(jpe?g|png|gif|bmp)$/i", $enc["filename"])) {
|
||||||
$proxy_all = $this->host->get($this, "proxy_all");
|
$proxy_all = $this->host->get($this, "proxy_all");
|
||||||
|
|
||||||
$enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], $proxy_all);
|
$enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], 0, $proxy_all);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $enc;
|
return $enc;
|
||||||
|
|
Loading…
Reference in a new issue