diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-07-05 12:05:51 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-07-05 12:05:51 +0400 |
| commit | 3610b48ba39d7e84d4f9d098a80e7f5459112310 (patch) | |
| tree | 8f3924b2a76bb1539bb0113fa90ab8c179046e38 /modules | |
| parent | 19929bbeeca6598827855cffdf21a810da4b7c87 (diff) | |
remove sanity check on open_basedir, block using CURL instead while running under it
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/pref-instances.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<div style='padding : 1em'>"; print_error("This functionality requires CURL functions. Please enable CURL in your PHP configuration and reload this page."); print "</div>"; |