Hi, folks.
I've recently upgraded some elements of my site to use CKFinder (I was previously using the stand-alone file browser from FCKEditor), and I've noticed that it appears to be returning paths including the domain (e.g., "http://www.example.com/images/image.jpg" rather than "/images/image.jpg"). This is proving to be problematic, because the domain for the administrative interface that's used to update documents is different from the domain that's viewable to the public.
Is there any way to get CKFinder to behave as the stand-alone file browser from FCKEditor did in this respect, i.e., to return paths without the domain attached?
Thanks,
- Dave.
Thu, 10/18/2007 - 16:19
#1
Re: CKFinder returning absolute paths?
What did you set in config.php in ckfinder directory?
I guess that you have $baseUrl pointing to the full URL?
If you change it to /path/to/dir, it should work.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+