<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/25/2009 *
- * =============== Last change: 10/25/2009 *
+ * Mailer v0.2.1-FINAL Start: 10/25/2009 *
+ * =================== Last change: 10/25/2009 *
* *
* -------------------------------------------------------------------- *
* File : stats-functions.php *
date('Ymd', time()));
// Add all entries to the final query
- foreach ($GLOBALS['stats'] as $entry=>$value) {
+ foreach ($GLOBALS['stats'] as $entry => $value) {
$sql .= sprintf("('%s', %s),", $entry, bigintval($value));
} // END - foreach
// Filter for flushing statistics
function FILTER_FLUSH_STATS () {
// Now do we have stats?
- if ((isset($GLOBALS['stats'])) && (getConfig('STATS_ENABLED') == 'Y')) {
+ if ((isset($GLOBALS['stats'])) && (!isInstallationPhase()) && (getConfig('STATS_ENABLED') == 'Y')) {
// Write statistics to temporary table
writeStatsTable();
} // END - if