connect.php, fixed mysql import error on setup.

This commit is contained in:
Stefan A. Brannfjell 2016-05-22 21:54:44 +02:00
parent abfa6482fe
commit 8cf999396b

View File

@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS `znote_accounts` (
`points` int(10) DEFAULT 0,
`cooldown` int(10) DEFAULT 0,
`active` tinyint(4) NOT NULL DEFAULT '0',
`activekey` int(11) NOT NULL,
`activekey` int(11) NOT NULL DEFAULT '0',
`flag` varchar(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
@ -323,4 +323,4 @@ function voidQuery($query) {
$accQueriesData[] = "[" . elapsedTime() . "] " . $query;
mysqli_query($connect,$query) or die(var_dump($query)."<br>(query - <font color='red'>SQL error</font>) <br>Type: <b>voidQuery</b> (voidQuery is used for update, insert or delete from database)<br><br>".mysqli_error($connect));
}
?>
?>