Symfony + ckeditor + kcfinder : no route found to browse server -


i have added ckeditor offer nice wysiwyg editor user. allow them upload pictures directly editor, i've installed kcfinder. i've put following lines in ckeditor's config :

config.filebrowserbrowseurl = 'ckeditor/plugins/kcfinder/browse.php?type=files'; config.filebrowserimagebrowseurl = 'ckeditor/plugins/kcfinder/browse.php?type=images'; config.filebrowserflashbrowseurl = 'ckeditor/plugins/kcfinder/browse.php?type=flash'; config.filebrowseruploadurl = 'ckeditor/plugins/kcfinder/upload.php?type=files'; config.filebrowserimageuploadurl = 'ckeditor/plugins/kcfinder/upload.php?type=images'; config.filebrowserflashuploadurl = 'ckeditor/plugins/kcfinder/upload.php?type=flash'; 

my problem : when try browse files on server kcfinder, symfony tells me there no routes "get /admin/news_post_admin/ckeditor/plugins/kcfinder/browse.php". looks tries reach browse.php controller, not correct.

any ideas how make symfony find correct path of browse.php ?

i working on integration between symfony2 , kcfinder , finished simple bundle. main purpose of bundle possibility control access kcfinder (for logged in users only).

you can find instructions , download bundle here (page created on fly): http://avaer.net/stuff/kcfinderbundle/

hope find helpful.


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -