Hi all.
I'm currently trying to make CKFinder works with my kind of directories. I'm going to explain my way of coding and expose you my problem.
I have a root directory with only index.php a directory pages containing my pages and a directory called libraries where I have CKeditor in.
CKEditor works very well. CKFinder also except for a little thing.
I want every upload in a "userfiles" directory at the root of my project (so the same level than directory)
Like this :
So, I need to put
$baseUrl = 'userfiles/'; $baseDir = "../../../../../../../userfiles/";
Re: CKFinder, upload dir, and DirectAccess
Up using this other post where someone seems to have the same (more or less) problem...
viewtopic.php?f=10&t=20153
Re: CKFinder, upload dir, and DirectAccess
The problem is in baseUrl and baseDir.
Setting the following:
should help in your case.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CKFinder, upload dir, and DirectAccess
No problem for delay and thanks for answer.
It worked perfectly indeed, but it doesn't do what I wanted because "aet" isn't my real root dir. the root for this site is "lpqr" so I have to changer that config everytime I upload my files on my server...
On my local server I have c:\wamp\www\aet\lpqr and on remote I have /home/lpqr/www so that's why I user the relative path using the ..
Is there a way to use the relative patch and still using the resolveUrl function ?
Thanks