diff options
| author | Andrew Dolgov <noreply@madoka.volgo-balt.ru> | 2016-01-26 11:45:47 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@madoka.volgo-balt.ru> | 2016-01-26 11:45:47 +0300 |
| commit | 41245888f1c538f15d7ffa3a0ddc9310b60c98d7 (patch) | |
| tree | 1be19b8234a1c80bd2ac88af9e455bf6032c7518 /plugins/af_unburn | |
| parent | 29c92d7b080152bfc8c60b90c185e2faab2a6bbb (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-x | plugins/af_unburn/init.php | 4 |
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; |