From the file /httpdocs/admin/fckeditor/editor/filemanager/upload/php/config.php:
// Set if the file type must be considere in the target path. // Ex: /userfiles/image/ or /userfiles/file/ $Config['UseFileType'] = false ; // Path to uploaded files relative to the document root. $Config['UserFilesPath'] = '/images/hh/' ;
But when I upload a file, it goes into /images/hh/image (it adds the "image" subdirectory onto the end of what I had set). I need to fix that, but I haven't been able to figure out how. Thanks for any help! I'm totally new here.
Re: Why Doesn't My UserFilesPath Setting Work Properly?
Open editor\filemanager\upload\upload.php and
replace:
with:
and
replace:
with
After that you're able to set
Remember to set $Config['UserFilesPath'] to path to userfiles directory, not to subdirectory inside it e.g
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Why Doesn't My UserFilesPath Setting Work Properly?
Please tell me how I must modify the files:
editor/filemanager/upload/php/upload.php
and
fckeditor/editor/filemanager/upload/php/config.php
Thanks in advance.