1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

remove sanity check on open_basedir, block using CURL instead while running under it

This commit is contained in:
Andrew Dolgov
2011-07-05 12:05:51 +04:00
parent 19929bbeec
commit 3610b48ba3
3 changed files with 6 additions and 5 deletions

View File

@@ -113,7 +113,7 @@
return;
}
if (!function_exists('curl_init')) {
if (!function_exists('curl_init') && !ini_get("open_basedir")) {
print "<div style='padding : 1em'>";
print_error("This functionality requires CURL functions. Please enable CURL in your PHP configuration and reload this page.");
print "</div>";