$feed_id = (int) $this->dbh->escape_string($_REQUEST["feed_id"]);
- update_rss_feed($feed_id, true);
+ if (!ini_get("open_basedir")) {
+ update_rss_feed($feed_id, true);
+ }
$this->wrap(self::STATUS_OK, array("status" => "OK"));
}
$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(