Mysqli support added. Many functions improved.

This commit is contained in:
Stefan Brannfjell
2014-02-02 20:23:00 +01:00
parent 85b427ec2d
commit 7a5a4eb410
4 changed files with 198 additions and 273 deletions

View File

@@ -37,7 +37,7 @@ if ($config['log_ip']) {
$timef = $time - $flush;
if (getCache() < $timef) {
$timef = $time - $visitor_config['time_period'];
mysql_query("DELETE FROM znote_visitors_details WHERE time <= '$timef'") or die(mysql_error());
mysql_delete("DELETE FROM znote_visitors_details WHERE time <= '$timef'");
setCache($time);
}
}