Welcome Guest, Not a member yet? Register   Sign In
Leading newline in output to browser
#1

[eluser]Unknown[/eluser]
CodeIgniter always puts a leading newline before the output to browser. This isn't a *real* problem for me, *yet*. But it's bothersome anyway and I can't alter this behavior. I've poked around in CodeIgniter.php to no avail. I can get a string to appear before the newline, by placing an echo to output the string in the index.php file, but then the echo string is on its own line, with the errant newline coming after.

I suspect it has something to do with output buffering, but I just can't figure it out.
#2

[eluser]danmontgomery[/eluser]
CI files don't use closing PHP tags, so this is from an addition or customization that you've made.




Theme © iAndrew 2016 - Forum software by © MyBB