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.

(Code formatting added)
(var formatting corrected)
Line 1: Line 1:
 
=== {{{baseDir}}} ===
 
=== {{{baseDir}}} ===
  
The {{{<code>baseDir</code>}}} is the path to the local directory (on the server) which points to the {{{<code>baseUrl</code>}}} 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.
+
The <code>{{{baseDir}}}</code> is the path to the local directory (on the server) which points to the <code>{{{baseUrl}}}</code> 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:
 
You may point it to a directory directly:
 
{{{code1}}}
 
{{{code1}}}
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}}}
  

Revision as of 13:19, 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.