- 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 (eregi(getConfig('SERVER_URL'), $output)) {
+ // Convert URLs from my server
+ $output = str_replace('{?URL?}/modules.php?module=', getConfig('SERVER_URL') . '/cms/', $output);