Updated MySQLi and cURL check

This commit is contained in:
Max Klaversma 2014-04-13 13:11:19 +02:00 committed by Steffen Schröder
parent d3b5031dc7
commit 01b3d2346d

View File

@ -49,7 +49,7 @@ logMessage('Starting ManiaControl ...');
* - cURL
*/
logMessage('Checking for installed MySQLi ... ', false);
if (function_exists('mysqli_connect')) {
if (extension_loaded('mysqli')) {
logMessage('FOUND!');
} else {
logMessage('NOT FOUND!');
@ -58,7 +58,7 @@ if (function_exists('mysqli_connect')) {
}
logMessage('Checking for installed cURL ... ', false);
if(function_exists('curl_version')) {
if(extension_loaded('curl')) {
logMessage('FOUND!');
} else {
logMessage('NOT FOUND!');