Updated extension version & corrected formatting
This commit is contained in:
parent
b76c2d7a5a
commit
f502bda518
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
{
|
{
|
||||||
"name": "ImageProxy",
|
"name": "ImageProxy",
|
||||||
"description": "No insecure content warnings or disappearing images on https sites",
|
"description": "No insecure content warnings or disappearing images on https sites",
|
||||||
"version": 0.3,
|
"version": 0.4,
|
||||||
"author": "Frans de Jonge",
|
"author": "Frans de Jonge",
|
||||||
"url": "https://github.com/FreshRSS/Extensions",
|
"url": "https://github.com/FreshRSS/Extensions",
|
||||||
"type": "gh-subdirectory"
|
"type": "gh-subdirectory"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
class ImageProxyExtension extends Minz_Extension {
|
class ImageProxyExtension extends Minz_Extension {
|
||||||
public function init() {
|
public function init() {
|
||||||
$this->registerHook('entry_before_display',
|
$this->registerHook('entry_before_display',
|
||||||
array('ImageProxyExtension', 'setImageProxyHook'));
|
array('ImageProxyExtension', 'setImageProxyHook'));
|
||||||
|
|
||||||
if (FreshRSS_Context::$user_conf->image_proxy_url != '') {
|
if (FreshRSS_Context::$user_conf->image_proxy_url != '') {
|
||||||
self::$proxy_url = FreshRSS_Context::$user_conf->image_proxy_url;
|
self::$proxy_url = FreshRSS_Context::$user_conf->image_proxy_url;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue