$value) { $sql .= sprintf("('%s', %s),", $entry, bigintval($value)); } // END - foreach // Finalize it and run it sqlQuery(substr($sql, 0, -1), __FUNCTION__, __LINE__); } // Filter for flushing statistics function FILTER_FLUSH_STATS () { // Now do we have stats? if ((isset($GLOBALS['stats'])) && (!isInstaller()) && (ifInternalStatsEnabled())) { // Write statistics to temporary table writeStatsTable(); // Count db/cache hits in database updateConfiguration( array( 'db_hits', 'cache_hits' ), array( getStatsEntry('db_hits'), getStatsEntry('cache_hits') ), '+' ); } // END - if } // [EOF] ?>