X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_rewrite.php;h=8c36ce73ff5e4e9ceafc3467d368e8a76a6db792;hp=dc38a0da5bd90425dfc6fac889aa4ea643a9e89e;hb=81bfbcd72e424060ea1223b49ad92fcfa150f361;hpb=a090e351c49fe021fb3064325694da03402332e0 diff --git a/inc/modules/admin/what-config_rewrite.php b/inc/modules/admin/what-config_rewrite.php index dc38a0da5b..8c36ce73ff 100644 --- a/inc/modules/admin/what-config_rewrite.php +++ b/inc/modules/admin/what-config_rewrite.php @@ -38,7 +38,7 @@ // 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); } @@ -57,7 +57,7 @@ if (IS_FORM_SENT()) { } // Implode array to string and remove posted mod array - REQUEST_SET_POST('rewrite_skip', implode(":", $MODs)); + REQUEST_SET_POST('rewrite_skip', implode(':', $MODs)); REQUEST_UNSET_POST('mod'); // Save settings @@ -68,17 +68,17 @@ if (IS_FORM_SENT()) { $OUT = ''; $SW = 2; while ($content = SQL_FETCHARRAY($result)) { // Set title to three dashes when no title is supplied - if (empty($content['title'])) $content['title'] = "---"; + if (empty($content['title'])) $content['title'] = '---'; // Already registered module? if (ereg($content['module'], getConfig('rewrite_skip'))) { // Found - $y = ' chkecked="checked"'; + $y = ' checked="checked"'; $n = ''; } else { // Not found $y = ''; - $n = ' chkecked="checked"'; + $n = ' checked="checked"'; } // Remember data in array for the dynamic row template