Closed sim2github closed 9 years ago
Why is this closed? Problem exists in current version...
I fixed this by adding to wysiwyg_init.js:
relative_urls : true,
document_base_url : "http://domain.tld/mycmsfolder",
Your fix may be works with new created pages. I mean that paths not relative in documentation database supplied with installation.
Issue is closed due to lack of comment on it. Almost a year of silence.
It is really too bad that the developer seems to have abandonded the projects. Espc. with some of your commits included it is a gread flexible base for small to medium projects, and it is easy to update Bootstrap etc. so I decided to use it even though it is abandoned. I figured that it runs nicely now on PHP7 and thus should make no core-trouble for quite some time.
I would not advise to use it in production because of Vulnerabilities. So core development is steel needed. I think core must be totally rewrited - the question raised in #23 but not answered.
Another project is steel develop core http://ritecms.com/. They use version 2 but difference from version 3 is only templates with bootstrap usage. I think, you can merge with they core to fix vulnerabilities.
In example path to images is relative(starts with dot)
<img src="./static/media/chaco_teaser.jpg">
but in WYSIWYG location ishttp://phpsqlitecms.com/cms/
so path to image is wrong -http://phpsqlitecms.com/cms/static/media/chaco_teaser.jpg
.