Domain absolute url for tinymce files

This commit is contained in:
chris 2013-09-30 15:25:06 +08:00
parent 6d4d3ccfd4
commit ecc3581106
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ function load_tinymce() {
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Domain Absolute URLs
relative_urls : false,
remove_script_host : false,
document_base_url: window.location.protocol + '//' + window.location.host,
// Skin options
skin : "o2k7",
skin_variant : "silver",