- if (eregi(constant('SERVER_URL'), $output)) {
- // Strip slashes with double-backslashes for the preg_replace() function
- $URL = str_replace('/', '\/', constant('SERVER_URL'));
+ // Do we have 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);