Web Global Net Web Application & Web Development Project Center

Technical Issues => FCK/CKEditor => Topic started by: admin on December 15, 2009, 01:09: PM



Title: CKFinder setup
Post by: admin on December 15, 2009, 01:09: PM
you need to set this file

yoursite/fckeditor/ckfinder/config.php

around line 54 look for this :

ATTENTION: The trailing slash is required.
*/
$baseUrl = 'http://webdomain.com/admin/web/mediafiles/image/';
(http is purposely set to htp here to show color correctly)
/*
$baseDir : the path to the local directory (in the server) which points to the
above $baseUrl URL. This is the path used by CKFinder to handle the files in
the server. Full write permissions must be granted to this directory.

Examples:
   // You may point it to a directory directly:
   $baseDir = '/home/login/public_html/ckfinder/files/';
   $baseDir = 'C:/SiteDir/CKFinder/userfiles/';

   // Or you may let CKFinder discover the path, based on $baseUrl:
   $baseDir = resolveUrl($baseUrl);

ATTENTION: The trailing slash is required.
*/
$baseDir = '/home/web/public_html/admin/web/mediafiles/image/';

/*

The Red part is the hardcoding to the directory you want to upload images and files into.

The Blue part is the server link to the same directory - in other words how the server path is in this posting this is set for a linux apache server. If you don't know this ask you server people what Maroon section