From c1bc3a2794a7f154567ff5efc18eb0ae07edfaaf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 5 Jul 2011 12:07:52 +0400 Subject: [PATCH] pref-instances: remove unnecessary check for open_basedir --- modules/pref-instances.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pref-instances.php b/modules/pref-instances.php index 30feb2a4f..e365457a0 100644 --- a/modules/pref-instances.php +++ b/modules/pref-instances.php @@ -113,7 +113,7 @@ return; } - if (!function_exists('curl_init') && !ini_get("open_basedir")) { + if (!function_exists('curl_init')) { print "
"; print_error("This functionality requires CURL functions. Please enable CURL in your PHP configuration and reload this page."); print "
";