]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_extensions.php
config.php partly solved, see #117
[mailer.git] / inc / modules / admin / what-config_extensions.php
index 18f8278ff134b439b696b5f8b9a0d1e30febdcdb..bd1d4e2605f8f275520679cfa9b0b762b3698dd4 100644 (file)
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", __FILE__);
+ADD_DESCR('admin', __FILE__);
 
 if (IS_FORM_SENT()) {
        // Save configuration
@@ -51,14 +51,14 @@ if (IS_FORM_SENT()) {
 } else {
        // Prepare data
        switch (getConfig('verbose_sql')) {
-               case "Y":
-                       define('__VERBOSE_Y', " checked=\"checked\"");
-                       define('__VERBOSE_N', "");
+               case 'Y':
+                       define('__VERBOSE_Y', ' checked="checked"');
+                       define('__VERBOSE_N', '');
                        break;
 
-               case "N":
-                       define('__VERBOSE_Y', "");
-                       define('__VERBOSE_N', " checked=\"checked\"");
+               case 'N':
+                       define('__VERBOSE_Y', '');
+                       define('__VERBOSE_N', ' checked="checked"');
                        break;
        }