Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
FCKeditor - image upload - image property - upload

I want to change upload directory
/images/
--->
/images/library/Image/

change 2 files.
-----------------------------------------------
config.php:

$_CONF_FCK['imagelibrary'] = '/images/library';
->
$_CONF_FCK['imagelibrary'] = '/images/library/';


/fckeditor/editor/filemanager/upload/php/upload.php:

line 87:
$sFilePath = $sServerDir . $sFileName ;
->
$sFilePath = $sServerDir .'Image/'. $sFileName ;

line 107:
$sFileUrl = $Config["UserFilesPath"] . $sFileName ;
->
$sFileUrl = $Config["UserFilesPath"] .'Image/'. $sFileName ;
Geeklog Japan https://www.geeklog.jp

Status: offline

Ook

Forum User
Chatty
Registered: 07/26/06
Posts: 39
cheerful
Outstanding! That synchronizes the fck image browse function with the upload directory.
"A conclusion is the place where you got tired of thinking."--Steven Wright