1
0
Fork 0

Minor mistake.

master
Ambrose Chua 2016-10-31 01:38:17 +08:00
parent 6ea8d5a649
commit 715643f6b6
2 changed files with 2 additions and 2 deletions

View File

@ -28,4 +28,4 @@ define('MBLOG_DESC', '
define('MBLOG_PULLEY_TEXT', "What's this?"); define('MBLOG_PULLEY_TEXT', "What's this?");
define('MBLOG_TOOLTIPS_TEXT', "Tap post to comment and like. :)"); define('MBLOG_TOOLTIPS_TEXT', "Tap post to comment and like. :)");
?> ?>

View File

@ -1,5 +1,5 @@
<?php <?php
$link = mysqli_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD, MYSQL_DATABASE); $db = mysqli_connect(MYSQL_HOST, MYSQL_USERNAME, MYSQL_PASSWORD, MYSQL_DATABASE);
if(!$db) { if(!$db) {
die("Unable to connect to database. "); die("Unable to connect to database. ");
} }