mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-14 12:31:00 +02:00
fix operation without curl
This commit is contained in:
parent
61096207b6
commit
9772c52a62
@ -318,7 +318,7 @@
|
||||
global $fetch_last_error;
|
||||
global $fetch_last_error_code;
|
||||
|
||||
if (!defined('NO_CURL') && !function_exists('curl_init') && !ini_get("open_basedir")) {
|
||||
if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) {
|
||||
|
||||
if (ini_get("safe_mode")) {
|
||||
$ch = curl_init(geturl($url));
|
||||
|
Loading…
x
Reference in New Issue
Block a user