Welcome to Geeklog, Anonymous Thursday, December 08 2022 @ 03:42 pm EST

Geeklog Forums

FCKeditor image upload directory error


Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
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
 Quote

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
 Quote

All times are EST. The time is now 03:42 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content