]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_extensions.php
wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / inc / modules / admin / what-config_extensions.php
index 2504ad825920a49bc3a44d85409e87fdcb5b356a..c65d3d2eeeb08deffd2f4cd97be9c35fefb569b7 100644 (file)
@@ -43,15 +43,15 @@ ADD_DESCR("admin", basename(__FILE__));
 if (isset($_POST['ok']))
 {
        // Save configuration
-       ADMIN_SAVE_SETTINGS($_POST, "_config", "config='0'");
+       ADMIN_SAVE_SETTINGS($_POST);
 }
  else
 {
        // Prepare data
-       switch ($CONFIG['verbose_sql'])
+       switch ($_CONFIG['verbose_sql'])
        {
-               case "Y": define('__VERBOSE_Y', " checked"); define('__VERBOSE_N', "");         break;
-               case "N": define('__VERBOSE_Y', "");         define('__VERBOSE_N', " checked"); break;
+               case 'Y': define('__VERBOSE_Y', " checked"); define('__VERBOSE_N', "");         break;
+               case 'N': define('__VERBOSE_Y', "");         define('__VERBOSE_N', " checked"); break;
        }
 
        // Load template