und
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'];