// Rewrite links in HTML for better SEO (ugly part of mx!)
function rewriteLinksInCode ($code) {
// Skip rewriting for configured or empty modules
- if ((getModule() == '') || (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== false)) {
+ if ((getModule() == '') || (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== FALSE)) {
return $code;
} // END - if
$code = str_replace($rewrite . '/modules.php?module=', $target, $code);
} // END - foreach
- // Do we have an URL linked to mxchange.org?
+ // Is there an URL linked to mxchange.org?
if (isInStringIgnoreCase(getServerUrl(), $code)) {
// Convert URLs from my server
$code = str_replace('{?URL?}/modules.php?module=', getServerUrl() . '/cms/', $code);