Checking for MySQLi and cURL on startup

This commit is contained in:
Max Klaversma 2014-04-13 12:35:21 +02:00 committed by Steffen Schröder
parent 7ba4aa0b7b
commit d3b5031dc7

View File

@ -53,7 +53,7 @@ if (function_exists('mysqli_connect')) {
logMessage('FOUND!');
} else {
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();
}
@ -62,7 +62,7 @@ if(function_exists('curl_version')) {
logMessage('FOUND!');
} else {
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();
}