]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mediadata.php
Mahor rewrite:
[mailer.git] / inc / modules / admin / what-config_mediadata.php
index 428d0f1cb3435903936ab027039d64f45c544231..2ea9b1b18db6e848575a09a2c38a59fc837d928f 100644 (file)
@@ -77,10 +77,10 @@ if (isset($_POST['ok']))
  else
 {
        // Start of this exchange
-       if ($_CONFIG['mt_start'] > 0)
+       if (getConfig('mt_start') > 0)
        {
                // Only show start
-               define('__MT_START', "<STRONG>".MAKE_DATETIME($_CONFIG['mt_start'], "3")."</STRONG>");
+               define('__MT_START', "<STRONG>".MAKE_DATETIME(getConfig('mt_start'), "3")."</STRONG>");
        }
         else
        {
@@ -93,7 +93,7 @@ if (isset($_POST['ok']))
        }
 
        // Next stage of this MT
-       define('__MT_STAGE', $_CONFIG['mt_stage']);
+       define('__MT_STAGE', getConfig('mt_stage'));
 
        // Load template
        LOAD_TEMPLATE("admin_config_mediadata");