[eluser]darioism[/eluser]
I love CodeIgniter, and use it for all of my projects.
A strange problem started happening, seemingly out of the blue. A newline is being inserted in the output, which breaks some pages and all programmatically generated images on my site.
I narrowed down the issue to line 288 of system\core\CodeIgniter.php, which simply reads:
If I put an exit('blah') just before this line, it prints "blah" as expected. When placed just after this line, it prints "blah" after a newline. I'm not sure what that piece of code does next so don't know where else to look. This changed while I was developing new features on my site, but I can't think of why this would have anything to do with my most recent changes.
Please help! I'm confounded. Thanks!