CKEditor Image Browse - Root back directory
Place for comments, problems, questions, or any issue related to the JavaScript / PHP scripts from this site.
-
justanumber
- Posts:13
CKEditor Image Browse - Root back directory
Most likely out of ordinary use, but need to have root image path like:
../mathtest/data/img
Cannot seem to get working.
Have tried:
Code: Select all
protected $root = '../mathtest/data/img';
Code: Select all
protected $root = '/../mathtest/data/img';
and
Code: Select all
protected $root = '../mathtest';
protected $imgdr = '/data/img';
In past, have always used the fast and easy way:
Code: Select all
'filebrowserImageBrowseUrl': '/path_to/ckeditor/plugins/imgbrowse/imgbrowse.html?imgroot=img',
But that will not work with "
?imgroot=../mathtest/data/img" either
Is there a way to use "
../mathtest/data/img" with the plugin?
Many thanks in advance for your assistance.
justanumber
Posts:13
My bad. Seems I was not going up extra directory.
Solved by adding extra "../"
Cheers!