commit cfdc0485e714713e9089bc4f909d6adc11e8ff28 parent b3c727c420fe71b8ed14a941527ff2df43f9b131 Author: Felicitus <felicitus@felicitus.org> Date: Thu, 22 Dec 2011 04:49:22 +0100 Check for cURL module during setup, as we need that to download files Diffstat:
M | src/setup/tests/check-php-settings.php | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/setup/tests/check-php-settings.php b/src/setup/tests/check-php-settings.php @@ -9,5 +9,9 @@ if (ini_get("allow_url_fopen") == false) { exit; } +if (!function_exists("curl_init")) { + echo json_encode(array("error" => true, "errormessage" => "You are missing the curl-library for PHP. Please install and activate it.")); + exit; +} echo json_encode(array("error" => false)); exit; \ No newline at end of file