mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-27 02:11:28 +00:00
only stop inline feed updates with open_basedir enabled if there are any plugins that require CURL enabled
add plugin->flags() returning array with additional plugin information, currently only CURL requirement (optional)
This commit is contained in:
@@ -9,6 +9,10 @@ class Af_Readability extends Plugin {
|
||||
"fox");
|
||||
}
|
||||
|
||||
function flags() {
|
||||
return array("needs_curl" => true);
|
||||
}
|
||||
|
||||
function save() {
|
||||
//
|
||||
}
|
||||
|
||||
@@ -8,6 +8,10 @@ class Af_RedditImgur extends Plugin {
|
||||
"fox");
|
||||
}
|
||||
|
||||
function flags() {
|
||||
return array("needs_curl" => true);
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ class Af_Tumblr_1280 extends Plugin {
|
||||
"fox");
|
||||
}
|
||||
|
||||
function flags() {
|
||||
return array("needs_curl" => true);
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ class Af_Unburn extends Plugin {
|
||||
"fox");
|
||||
}
|
||||
|
||||
function flags() {
|
||||
return array("needs_curl" => true);
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ class Af_Zz_ImgSetSizes extends Plugin {
|
||||
"fox");
|
||||
}
|
||||
|
||||
function flags() {
|
||||
return array("needs_curl" => true);
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user