summaryrefslogtreecommitdiff
path: root/classes/plugin.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-01-26 11:45:47 +0300
committerAndrew Dolgov <[email protected]>2016-01-26 11:45:47 +0300
commit41245888f1c538f15d7ffa3a0ddc9310b60c98d7 (patch)
tree1be19b8234a1c80bd2ac88af9e455bf6032c7518 /classes/plugin.php
parent29c92d7b080152bfc8c60b90c185e2faab2a6bbb (diff)
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)
Diffstat (limited to 'classes/plugin.php')
-rw-r--r--classes/plugin.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/plugin.php b/classes/plugin.php
index 8fbacf363..01ac46bae 100644
--- a/classes/plugin.php
+++ b/classes/plugin.php
@@ -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 "";
}