Open-Manager icon indicating copy to clipboard operation
Open-Manager copied to clipboard

Allow absolute paths

Open essemme opened this issue 11 years ago • 3 comments

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 :)

essemme avatar Oct 09 '13 10:10 essemme

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

rmorse avatar Oct 10 '13 11:10 rmorse

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

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

essemme avatar Oct 10 '13 14:10 essemme

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

rmorse avatar Oct 24 '13 12:10 rmorse