Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Comments

Allow absolute paths#1

Open
essemme wants to merge 5 commits intormorse:masterfrom
essemme:master
Open

Allow absolute paths#1
essemme wants to merge 5 commits intormorse:masterfrom
essemme:master

Conversation

@essemme
Copy link

@essemme essemme commented Oct 9, 2013

hello, I had problems on my production server with relative paths - so i made some quick changes to allow absolute paths in config / tinyMce init, like this:

    open_manager_upload_path: '<?php echo $_SERVER['DOCUMENT_ROOT'];?>/uploads/',

(don't know if this is needed too - it probably is:

    relative_urls : false,

)

it's just a quinck patch, not fully tested (it works for me, so it was enough at the time)

Some refactoring might be needed. But sharing anyway is probably better than keeping it for me :)

@rmorse
Copy link
Owner

rmorse commented Oct 10, 2013

Hey Stefano this seems great, will do some testing on this before making live but more than happy to include this improvement ;)

@essemme
Copy link
Author

essemme commented Oct 10, 2013

Great - Hope I did't break anything in the rush :)

(by the way, i forgot: thank you for sharing this)

@rmorse
Copy link
Owner

rmorse commented Oct 24, 2013

Thanks no problem :) Still need to check through this but thanks again for your help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants