Checking for MySQLi and cURL on startup
This commit is contained in:
parent
7ba4aa0b7b
commit
d3b5031dc7
@ -53,7 +53,7 @@ if (function_exists('mysqli_connect')) {
|
|||||||
logMessage('FOUND!');
|
logMessage('FOUND!');
|
||||||
} else {
|
} else {
|
||||||
logMessage('NOT FOUND!');
|
logMessage('NOT FOUND!');
|
||||||
logMessage(' -- You do not have MySQLi installed, make sure to check: http://www.php.net/manual/en/mysqli.installation.php');
|
logMessage(' -- You don\'t have MySQLi installed, make sure to check: http://www.php.net/manual/en/mysqli.installation.php');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ if(function_exists('curl_version')) {
|
|||||||
logMessage('FOUND!');
|
logMessage('FOUND!');
|
||||||
} else {
|
} else {
|
||||||
logMessage('NOT FOUND!');
|
logMessage('NOT FOUND!');
|
||||||
logMessage('You do not have cURL installed, make sure to check: http://www.php.net/manual/en/curl.installation.php');
|
logMessage('You don\'t have cURL installed, make sure to check: http://www.php.net/manual/en/curl.installation.php');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user