1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +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:
Andrew Dolgov
2016-01-26 11:45:47 +03:00
parent 29c92d7b08
commit 41245888f1
7 changed files with 51 additions and 5 deletions

View File

@@ -8,6 +8,10 @@ class Af_RedditImgur extends Plugin {
"fox");
}
function flags() {
return array("needs_curl" => true);
}
function init($host) {
$this->host = $host;