]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_extensions.php
More constant rewrites
[mailer.git] / inc / modules / admin / what-config_extensions.php
index d79ef2e740a5c4dc6f811a64625569069b3823a5..3129867db064e32ccc1a9ea5e0fba139bf688451 100644 (file)
@@ -40,18 +40,18 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
        // Save configuration
-       ADMIN_SAVE_SETTINGS($_POST);
+       ADMIN_SAVE_SETTINGS_POST();
 } else {
        // Prepare data
-       switch ($_CONFIG['verbose_sql']) {
-               case 'Y':
+       switch (getConfig('verbose_sql')) {
+               case "Y":
                        define('__VERBOSE_Y', " checked=\"checked\"");
                        define('__VERBOSE_N', "");
                        break;
 
-               case 'N':
+               case "N":
                        define('__VERBOSE_Y', "");
                        define('__VERBOSE_N', " checked=\"checked\"");
                        break;