mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-05 19:49:16 +00:00
prevent frontend updating of feeds on view if open_basedir is set to prevent plugins potentially not working correctly (i.e. if backend system has open_basedir disabled)
This commit is contained in:
@@ -166,7 +166,7 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$method_split = explode(":", $method);
|
||||
|
||||
if ($method == "ForceUpdate" && $feed > 0 && is_numeric($feed)) {
|
||||
if ($method == "ForceUpdate" && $feed > 0 && is_numeric($feed) && !ini_get("open_basedir")) {
|
||||
// Update the feed if required with some basic flood control
|
||||
|
||||
$result = $this->dbh->query(
|
||||
|
||||
Reference in New Issue
Block a user