⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Do not work PDF download in Codeigniter view



mbmtnez
  • profile picture
  • Member

Posted 21 April 2017 - 15:02 PM

I have a text type field and when I add or edit a ckeditor comes out, which is perfect. My problem is when I visualize this data, the images, texts, I do not have problems, but if I put it to download a pdf or a .rar, the address that comes out is the one I put in the ckeditor, but behind all the Address of the page.
<br> Example:
 PDF address: assets / pdf / test.pdf
<br>  address in the view: localhost / codeigniter / index.php / admin / text_page / assets / pdf / test.pdf
 
I need the controller and the function not to come out.
Thanks in advance.