diff --git a/engine/init.php b/engine/init.php index 112289f..0699f2b 100644 --- a/engine/init.php +++ b/engine/init.php @@ -25,9 +25,9 @@ ob_start(); require_once 'config.php'; $sessionPrefix = $config['session_prefix']; -if ($config['paypal']['enabled']) { +if ($config['paypal']['enabled'] || $config['use_captcha']) { $curlcheck = function_exists('curl_version') ? true : false; - if (!$curlcheck) die("php cURL is not enabled. It is required to for paypal services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.

If you don't want this then disable paypal in config.php."); + if (!$curlcheck) die("php cURL is not enabled. It is required to for paypal or captcha services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.

If you don't want this then disable paypal & use_captcha in config.php."); } require_once 'database/connect.php';