Warum sollte das nicht gehen? Zuletzt hat's jedenfalls gefunzt - und sollte erhalten bleiben (wenn auf auf Wunsch ausschaltbar). Nachdem man sowieso nicht aus dem "cache/edit_fck_xxxxx/"-Unterverzeichnis raus kann, würde ich hierbei auch keine "Gefahr" erkennen. Tats. funktioniert der FCK-Uploader in zwei Bereichen tadellos: 1) Images 2) Links (ja, auch dort gibt's eine Lasche "Upload" - verwende das z.B. für PDF's, DOC's,...) Ich verwende das in meinem internen Forum seit Jahren - aber es gibt nichts einfacheres als klick-klick und ich habe die Files/Bilder am Server (und im FCK-Dialog schon den langen, unaussprechlichen Namen vorbelegt). Ciao, Boby
if ( oConnector.ShowAllTypes ) oConnector.ResourceType = 'File' ;
if ( oConnector.ShowAllTypes ) oConnector.ResourceType = 'Image' ;
var aTypes = [ ['Image','Image'], ['File','File'], ['Flash','Flash'], ['Media','Media']] ;
$Config['FileTypesAbsolutePath'] = array();$Config['FileTypesAbsolutePath']['File'] = $fullpath . 'File/';$Config['FileTypesAbsolutePath']['Image'] = $fullpath . 'Image/';$Config['FileTypesAbsolutePath']['Flash'] = $fullpath . 'Flash/';$Config['FileTypesAbsolutePath']['Media'] = $fullpath . 'Media/';
$fullpath = $opnConfig['datasave']['fckeditor']['path'];$opn_relpath = '/' . str_replace (_OPN_ROOT_PATH, '', $fullpath);$short_url = $opnConfig['opn_url'];if (strpos($short_url, 'http') === 0) {$short_url = substr($short_url, strpos($short_url, '//') + 2);}if (strpos($short_url, '/') === false) {$short_url = '/';} else {$short_url = substr($short_url, strpos($short_url, '/'));}$short_url = rtrim($short_url, '/');$path = $short_url . $opn_relpath;$Config['UserFilesPath'] = $path;$Config['UserFilesAbsolutePath'] = $fullpath;$Config['FileTypesPath'] = array();$Config['FileTypesPath']['File'] = $path . 'File/';$Config['FileTypesPath']['Image'] = $path . 'Image/';$Config['FileTypesPath']['Flash'] = $path . 'Flash/';$Config['FileTypesPath']['Media'] = $path . 'Media/';$Config['QuickUploadAbsolutePath']['File'] = $fullpath . 'File/';$Config['QuickUploadAbsolutePath']['Image'] = $fullpath . 'File/';$Config['QuickUploadAbsolutePath']['Flash'] = $fullpath . 'File/';$Config['QuickUploadAbsolutePath']['Media'] = $fullpath . 'File/';$Config['QuickUploadPath']['File'] = $opnConfig['opn_url'] . $opn_relpath . 'File/';$Config['QuickUploadPath']['Image'] = $opnConfig['opn_url'] . $opn_relpath . 'File/';$Config['QuickUploadPath']['Flash'] = $opnConfig['opn_url'] . $opn_relpath . 'File/';$Config['QuickUploadPath']['Media'] = $opnConfig['opn_url'] . $opn_relpath . 'File/';$Config['UploadPath'] = $Config['FileTypesPath'];