codeigniter profiler problem
codeigniter profiler problem
guillermovil
Posts: 20Questions: 5Answers: 0
Hello, I'm working with codeigniter generating a ajax DataTable like this:
(view)
$ ( '# Noticia_dt'). DataTable ({
"Ajax": {
"Url": "<? Php echo site_url ('news/read/')?>"
"Type": "POST"
}
})
This work good but, when I use:
$ This-> output-> enable_profiler (TRUE);
Then the controller
news/read/
causes an error because debug information from codeigniter adds things to what should be a pure json.
Is there any way to keep activated the profiler?
Thank you in advance and sorry for my english
Guillermo
This discussion has been closed.