]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_top10.php
Naming convention applied, rewritten to use filter
[mailer.git] / inc / modules / admin / what-config_top10.php
index 9977a7f3292caccbb9f6310f6e29a8862dfca539..4eeaf49ac6412c7f0671e81014c549f5ce32f7e5 100644 (file)
@@ -38,7 +38,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 if (isset($_POST['ok']))
 {
@@ -48,7 +48,7 @@ if (isset($_POST['ok']))
  else
 {
        // Prepare constants for the template
-       define('__MAX_VALUE', $_CONFIG['top10_max']);
+       define('__MAX_VALUE', getConfig('top10_max'));
 
        // Load form template
        LOAD_TEMPLATE("admin_config_top10");