* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Rewrite links in HTML for better SEO (ugly part of mx!)
function rewriteLinksInCode ($HTML) {
// Skip rewriting for configured modules
- if (eregi(getModule(), getConfig('rewrite_skip')) !== false) return $HTML;
+ if (isInStringIgnoreCase(getModule(), getConfig('rewrite_skip')) !== false) return $HTML;
// Generate target URL
$target = '{?URL?}/cms/';
} // END - foreach
// Do we have an URL linked to mxchange.org?
- if (eregi(getConfig('SERVER_URL'), $output)) {
+ if (isInStringIgnoreCase(getConfig('SERVER_URL'), $output)) {
// Convert URLs from my server
$output = str_replace('{?URL?}/modules.php?module=', getConfig('SERVER_URL') . '/cms/', $output);