我有一個在ckeditor中集成KCFinder的問題。我ckeditor的版本是4.0,而另一個(KCFinder版本)是2.52-dev。KCFinder'您無權列出文件。'
嗨配置的CKEditor的config.js這樣的:
CKEDITOR.config.baseHref = "/ckeditor/";
CKEDITOR.editorConfig = function(config) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
config.contentsCss = 'contents.css';
config.language= 'it';
config.height = '400px';
config.uiColor = '#ffDC6E';
//kcfinder per l'uoload delle immagini
config.filebrowserBrowseUrl = 'kcfinder-2.51/browse.php?type=files';
config.filebrowserImageBrowseUrl = 'kcfinder-2.51/browse.php?type=images';
config.filebrowserFlashBrowseUrl = 'kcfinder-2.51/browse.php?type=flash';
config.filebrowserUploadUrl = '../../../reserved/kcfinder-2.51/upload.php?type=files';
config.filebrowserImageUploadUrl = '../../../reserved/kcfinder-2.51/upload.php?type=images';
config.filebrowserFlashUploadUrl = '../../../reserved/kcfinder-2.51/upload.php?type=flash';
// Remove some buttons, provided by the standard plugins, which we don't
// need to have in the Standard(s) toolbar.
config.removeButtons = 'Subscript,Superscript';
config.disableNativeSpellChecker = false;
};
整合是,但是當我點擊「服務器顯示文件」,或當我上傳圖片到系統說「你這樣做沒有權限列出文件「,雖然權限是正確的。
什麼問題? Tks Salvo
是不是安全? –
@YousefAltaf號碼 – Dovis