Difference between revisions of "Template:CKFinder 2.x baseDir"

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Template contents updated with conditional statement)
m (language -> lang)
Line 7: Line 7:
 
Or you may let CKFinder discover the path based on <code>{{{baseUrl}}}</code>:
 
Or you may let CKFinder discover the path based on <code>{{{baseUrl}}}</code>:
 
{{{code2}}}
 
{{{code2}}}
{{ #ifeq: {{{language}}} | Java |by leaving the <code>{{{baseDir}}}</code> value empty.}}
+
{{ #ifeq: {{{lang}}} | Java |by leaving the <code>{{{baseDir}}}</code> value empty.}}
  
 
Bear in mind that CKFinder will only discover the path, when the base URL is a local Web path (relative to document root. Example:
 
Bear in mind that CKFinder will only discover the path, when the base URL is a local Web path (relative to document root. Example:

Revision as of 14:43, 31 March 2011

{{{baseDir}}}

The {{{baseDir}}} is the path to the local directory (on the server) which points to the {{{baseUrl}}} URL described above. This is the path used by CKFinder to handle the files on the server. Full write permissions must be granted to this directory.

You may point it to a directory directly: {{{code1}}} Or you may let CKFinder discover the path based on {{{baseUrl}}}: {{{code2}}}


Bear in mind that CKFinder will only discover the path, when the base URL is a local Web path (relative to document root. Example: {{{code3}}} If it is a full URL address, like the following one: {{{code4}}} the path will not be discovered.

important note

Please note that the trailing slash is required.