$.ajax({
url : '<?=base_url();?>' + 'public/snippets/set_kcfinder.php',
data : { uploadURL : '<?=base_url()."public/upload/".$seccion;?>',
file_delete : true,
file_upload : true,
dir_delete : true,
dir_rename : true,
dir_create : true
},
type : 'POST',
success : function() {
alert('salio chido');
},
error : function() {
alert('Disculpe, existió un problema');
},
});