]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_order.php
Obsolete action=login removed from URLs
[mailer.git] / inc / modules / admin / what-config_order.php
index dbf9e3075aa86b23f96297f297b69dc4a721b346..8f268ec74d19d8242ddd85eb3d919789e981dd78 100644 (file)
@@ -40,9 +40,9 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
        // Save data
-       ADMIN_SAVE_SETTINGS($_POST);
+       ADMIN_SAVE_SETTINGS_POST();
 } else {
        // Prepare constants for the template
        switch (getConfig('order_max_full'))
@@ -75,7 +75,7 @@ if (isset($_POST['ok'])) {
                break;
        }
 
-       // Transfer other config data into constants for the template (DO NOT set $_CONFIG as global in LOAD_TEMPLATE!!!)
+       // Transfer other config data into constants for the template
        define('_CFG_UNCONFIRMED'   , getConfig('unconfirmed'));
        define('_CFG_MAX_TLENGTH'   , getConfig('max_tlength'));