]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_extensions.php
Cache class rewritten to better convention
[mailer.git] / inc / modules / admin / what-config_extensions.php
index 2f457430ac020e349c28819f9b8671a45eb90bca..d79ef2e740a5c4dc6f811a64625569069b3823a5 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'])) {
        // Save configuration
@@ -46,8 +46,15 @@ if (isset($_POST['ok'])) {
 } else {
        // Prepare data
        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=\"checked\"");
+                       define('__VERBOSE_N', "");
+                       break;
+
+               case 'N':
+                       define('__VERBOSE_Y', "");
+                       define('__VERBOSE_N', " checked=\"checked\"");
+                       break;
        }
 
        // Load template