From 3610b48ba39d7e84d4f9d098a80e7f5459112310 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 5 Jul 2011 12:05:51 +0400 Subject: remove sanity check on open_basedir, block using CURL instead while running under it --- modules/pref-instances.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/pref-instances.php b/modules/pref-instances.php index e365457a0..30feb2a4f 100644 --- a/modules/pref-instances.php +++ b/modules/pref-instances.php @@ -113,7 +113,7 @@ return; } - if (!function_exists('curl_init')) { + if (!function_exists('curl_init') && !ini_get("open_basedir")) { print "
"; print_error("This functionality requires CURL functions. Please enable CURL in your PHP configuration and reload this page."); print "
"; -- cgit v1.2.3-54-g00ecf