我正在使用laravel 5.2。 我有下一个文件ierarhy:
https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
但是我在选择图像并提交“发送到服务器”后遇到了KCFinder问题,我收到了404错误:
我有下一个代码:
kcfinder \ conf \ config.php:
$_CONFIG = array(
'disabled' => false,
'uploadURL' => "upload",
'uploadDir' => "",
'theme' => "default",
ckeditor \ config.js
CKEDITOR.editorConfig = function( config ) {
...
config.filebrowserBrowseUrl = 'public/assets/js/ckeditor/kcfinder/browse.php?opener=ckeditor&type=files';
config.filebrowserImageBrowseUrl = 'public/assets/js/ckeditor/kcfinder/browse.php?opener=ckeditor&type=images';
config.filebrowserFlashBrowseUrl = 'public/assets/js/ckeditor/kcfinder/browse.php?opener=ckeditor&type=flash';
config.filebrowserUploadUrl = 'public/assets/js/ckeditor/kcfinder/upload.php?opener=ckeditor&type=files';
config.filebrowserImageUploadUrl = 'public/assets/js/ckeditor/kcfinder/upload.php?opener=ckeditor&type=images';
config.filebrowserFlashUploadUrl = 'public/assets/js/ckeditor/kcfinder/upload.php?opener=ckeditor&type=flash';
};
请帮助解决问题,谢谢!