X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-config_extensions.php;h=bd1d4e2605f8f275520679cfa9b0b762b3698dd4;hb=81bfbcd72e424060ea1223b49ad92fcfa150f361;hp=18f8278ff134b439b696b5f8b9a0d1e30febdcdb;hpb=fb7120ffa230b62b54895bcf95952e1cf30f8594;p=mailer.git diff --git a/inc/modules/admin/what-config_extensions.php b/inc/modules/admin/what-config_extensions.php index 18f8278ff1..bd1d4e2605 100644 --- a/inc/modules/admin/what-config_extensions.php +++ b/inc/modules/admin/what-config_extensions.php @@ -38,12 +38,12 @@ // 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; }