Forked from stevewithington/muraFindAndReplace.cfm
Created
February 14, 2014 18:45
-
-
Save jsieber/9006630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
// place this in your Site or Theme eventHandler.cfc, then reload your application! | |
public any function onApplicationLoad($) { | |
arguments.$.getBean('contentUtility').findAndReplace( | |
find='http://olddomain.com' | |
, replace='http://newdomain.com' | |
, siteid=arguments.$.event('siteid') | |
); | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment