]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-cache_stats.php
Fixes for auto-activation of extensions while registration phase
[mailer.git] / inc / modules / admin / what-cache_stats.php
index aafc8a74846f01398577e9fa69e6ca4cbdc6d4ca..cfcd33e1f1ae477ae6e59a8e5bea3ce166f1521b 100644 (file)
@@ -46,7 +46,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Activated?
-if (getConfig('STATS_ENABLED') == 'Y') {
+if (ifStatsAreEnabled()) {
        // Prepare data for the template
        $content['db_hits']    = getStatsEntry('db_hits');
        $content['cache_hits'] = getStatsEntry('cache_hits');