Created
June 30, 2013 11:34
-
-
Save jpdevries/5894834 to your computer and use it in GitHub Desktop.
Correct Broken TinyMCE & CKEditor Image URLs
Note: It's fine to have the / at the beginning, it will go to site root or the base href if one is set
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
UPDATE modx_site_content SET content = replace(content, 'src="assets', 'src="/assets'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment