Updated MySQLi and cURL check
This commit is contained in:
parent
d3b5031dc7
commit
01b3d2346d
@ -49,7 +49,7 @@ logMessage('Starting ManiaControl ...');
|
|||||||
* - cURL
|
* - cURL
|
||||||
*/
|
*/
|
||||||
logMessage('Checking for installed MySQLi ... ', false);
|
logMessage('Checking for installed MySQLi ... ', false);
|
||||||
if (function_exists('mysqli_connect')) {
|
if (extension_loaded('mysqli')) {
|
||||||
logMessage('FOUND!');
|
logMessage('FOUND!');
|
||||||
} else {
|
} else {
|
||||||
logMessage('NOT FOUND!');
|
logMessage('NOT FOUND!');
|
||||||
@ -58,7 +58,7 @@ if (function_exists('mysqli_connect')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
logMessage('Checking for installed cURL ... ', false);
|
logMessage('Checking for installed cURL ... ', false);
|
||||||
if(function_exists('curl_version')) {
|
if(extension_loaded('curl')) {
|
||||||
logMessage('FOUND!');
|
logMessage('FOUND!');
|
||||||
} else {
|
} else {
|
||||||
logMessage('NOT FOUND!');
|
logMessage('NOT FOUND!');
|
||||||
|
Loading…
Reference in New Issue
Block a user