mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 03:09:22 +02:00
connect.php, fixed mysql import error on setup.
This commit is contained in:
parent
abfa6482fe
commit
8cf999396b
@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS `znote_accounts` (
|
|||||||
`points` int(10) DEFAULT 0,
|
`points` int(10) DEFAULT 0,
|
||||||
`cooldown` int(10) DEFAULT 0,
|
`cooldown` int(10) DEFAULT 0,
|
||||||
`active` tinyint(4) NOT NULL 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,
|
`flag` varchar(20) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
|
||||||
@ -323,4 +323,4 @@ function voidQuery($query) {
|
|||||||
$accQueriesData[] = "[" . elapsedTime() . "] " . $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));
|
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));
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user