Hi!
I have multiple pages on the server and i would like to use one ckfinder for all the pages. I'm using with ckeditor, which works fine, but in ckfinder i have problems with $baseUrl
let's say this is the path to scripts
/home/public_html/scripts/ckeditor
/home/public_html/scripts/ckfinder
but the pages with are located in
/home/public_html/page1/images
/home/public_html/page2/images
I include script into header with http://servername/scripts/ckeditor on every page, and ckeditor loads fine.
How would one change the $baseUrl so that images and always uploaded to the page, where scripts is included to.
So when i use ckfinder on page1, the images are uploaded to /home/public_html/page1/images, but when i use the script on page2, then they get uploaded to /home/public_html/page2/images
is this possible?
thank you
Mon, 01/17/2011 - 11:37
#1
Re: $baseUrl
In your case, I would change $baseUrl and $baseDir in config.php file based on the information where the user is located like that: