• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.