strpos($article["link"], "/~r/") !== FALSE ||
strpos($article["link"], "feedsportal.com") !== FALSE)) {
- if (strpos($article["plugin_data"], "unburn,$owner_uid:") === FALSE) {
-
if (ini_get("safe_mode") || ini_get("open_basedir")) {
$ch = curl_init(geturl($article["link"]));
} else {
curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY);
}
- $contents = @curl_exec($ch);
+ @curl_exec($ch);
$real_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
$article["plugin_data"] = "unburn,$owner_uid:" . $article["plugin_data"];
$article["link"] = $real_url;
}
- } else if (isset($article["stored"]["link"])) {
- $article["link"] = $article["stored"]["link"];
- }
}
return $article;