FCKConfig.LinkBrowserURL = '../../../ckfinder/ckfinder.html' ;
FCKConfig.ImageBrowserURL = '../../../ckfinder/ckfinder.html?type=Images' ;
FCKConfig.FlashBrowserURL = '../../../ckfinder/ckfinder.html?type=Flash' ;
FCKConfig.LinkUploadURL = '../../../ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files' ;
FCKConfig.ImageUploadURL = '../../../ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images' ;
FCKConfig.FlashUploadURL = '../../../ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash' ;
注释掉以下内容:
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath +
'filemanager/browser/default/browser.html?Connector=' +
encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' +
_FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath +
'filemanager/browser/default/browser.html?Type=Image&Connector=' +
encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' +
_FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
//FCKConfig.FlashBrowserURL = FCKConfig.BasePath +
'filemanager/browser/default/browser.html?Type=Flash&Connector=' +
encodeURIComponent( FCKConfig.BasePath + 'filemanager/connectors/' +
_FileBrowserLanguage + '/connector.' + _FileBrowserExtension ) ;
//FCKConfig.LinkUploadURL = FCKConfig.BasePath +
'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' +
_QuickUploadExtension ;
//FCKConfig.ImageUploadURL = FCKConfig.BasePath +
'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' +
_QuickUploadExtension + '?Type=Image' ;
//FCKConfig.FlashUploadURL = FCKConfig.BasePath +
'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' +
_QuickUploadExtension + '?Type=Flash' ;
认证检查
打开 third_party/ckfinder/config.php
在 CheckAuthentication()中,你必须实现一些session验证。
原文转自:http://www.ossxp.com/doc/testlink/admin_guide/admin_guide.html#id6