1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 04:05:55 +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

@@ -15,6 +15,13 @@ class Plugin {
return array(1.0, "plugin", "No description", "No author", false);
}
function flags() {
/* associative array, possible keys:
needs_curl = boolean
*/
return array();
}
function get_js() {
return "";
}