]> git.mxchange.org Git - mailer.git/commitdiff
Internal statistics are now turned off by default, install ext-other, version >=...
authorRoland Häder <roland@mxchange.org>
Wed, 30 Jun 2010 23:54:53 +0000 (23:54 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 30 Jun 2010 23:54:53 +0000 (23:54 +0000)
inc/config-global.php
inc/stats-functions.php

index 50e9548c9e17f1fc0e2a7fb7adbebe2b0ec41b0b..f3a26f6121c18c9719cb8acabb8e645c4a8e397b 100644 (file)
@@ -92,7 +92,7 @@ setConfigEntry('COPY', 'Copyright &copy; 2003 - 2009, by Roland H&auml;der,<br /
 setConfigEntry('CACHE_PATH', getConfig('PATH') . 'inc/cache/');
 
 // CFG: STATS-ENABLED (This setting is overwritten by ext-other; at least version 0.2.6)
 setConfigEntry('CACHE_PATH', getConfig('PATH') . 'inc/cache/');
 
 // CFG: STATS-ENABLED (This setting is overwritten by ext-other; at least version 0.2.6)
-setConfigEntry('stats_enabled', 'Y');
+setConfigEntry('stats_enabled', 'N');
 
 // GLOBAL: DEBUG-TEMPLATE-CACHE
 setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
 
 // GLOBAL: DEBUG-TEMPLATE-CACHE
 setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
index 3982c3b6110bdf2393a5cb803368c663b0abc628..5d8c441f48a860fed2ca0838cc7b5ac0cec9d25d 100644 (file)
@@ -110,8 +110,10 @@ function loadStatsTable () {
        } // END - if
 
        // Load it from database
        } // END - if
 
        // Load it from database
-       $result = SQL_QUERY_ESC("SELECT `stats_entry`,`stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC",
-               array(generateDateTime(time(), '6')), __FUNCTION__, __LINE__);
+       $result = SQL_QUERY_ESC("SELECT `stats_entry`, `stats_value` FROM `{?_MYSQL_PREFIX?}_stats_%s` ORDER BY `stats_entry` ASC",
+               array(
+                       generateDateTime(time(), '6')
+               ), __FUNCTION__, __LINE__);
 
        // Read all rows
        while ($row = SQL_FETCHARRAY($result)) {
 
        // Read all rows
        while ($row = SQL_FETCHARRAY($result)) {