From d3b5031dc74b81848b149e15d9c17e22f9db6a6e Mon Sep 17 00:00:00 2001 From: Max Klaversma Date: Sun, 13 Apr 2014 12:35:21 +0200 Subject: [PATCH] Checking for MySQLi and cURL on startup --- application/ManiaControl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/ManiaControl.php b/application/ManiaControl.php index 684dd89c..77d6e136 100644 --- a/application/ManiaControl.php +++ b/application/ManiaControl.php @@ -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(); }