From de5669f723152bee265bcca7fb11557f75a2331c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 15 Aug 2019 16:27:53 +0300 Subject: [PATCH] af_zz_imgproxy: rename to af_proxy_http, use priority hook loader --- plugins/{af_zz_imgproxy => af_proxy_http}/init.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename plugins/{af_zz_imgproxy => af_proxy_http}/init.php (96%) mode change 100755 => 100644 diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_proxy_http/init.php old mode 100755 new mode 100644 similarity index 96% rename from plugins/af_zz_imgproxy/init.php rename to plugins/af_proxy_http/init.php index ddc30936f..13e2eea23 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_proxy_http/init.php @@ -1,5 +1,5 @@ host = $host; $this->cache = new DiskCache("images"); - $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); - $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); + $host->add_hook($host::HOOK_RENDER_ARTICLE, $this, 150); + $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this, 150); $host->add_hook($host::HOOK_ENCLOSURE_ENTRY, $this); $host->add_hook($host::HOOK_PREFS_TAB, $this);