summaryrefslogtreecommitdiff
path: root/plugins/af_unburn
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 /plugins/af_unburn
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 'plugins/af_unburn')
-rwxr-xr-xplugins/af_unburn/init.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/af_unburn/init.php b/plugins/af_unburn/init.php
index 72f8a2606..e5f43e40a 100755
--- a/plugins/af_unburn/init.php
+++ b/plugins/af_unburn/init.php
@@ -8,6 +8,10 @@ class Af_Unburn extends Plugin {
"fox");
}
+ function flags() {
+ return array("needs_curl" => true);
+ }
+
function init($host) {
$this->host = $host;