code not buffering output immediately
Reported by S. Shehzed | November 25th, 2010 @ 03:10 PM | in v0.20
ob_start()
isn't needed because php has it enabled
already.
ob_implicit_flush(true);
is at the beginning of
index() already.
Comments and changes to this ticket
-
S. Shehzed November 30th, 2010 @ 04:20 AM
- State changed from new to resolved
- Assigned user set to S. Shehzed
RESOLVED: on the 27th/28th.
ob_implicit_flush(true);
is still at the beginning so you don't need to writeflush()
after each time you want to flush the buffer.ob_flush()
is still being called at the end of each step in the controller. But on top of it,echo $this->output->get_output();
and$this->output->set_output('');
have been added. These tell the CI output class to send out whatever has been created through views so far and to subsequently wipe clean whatever it has (well actually making it an empty string).
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
GOT COLD BEER! POUR BEER IN FROSTY MUG! DRINK BEER! REPEAT! HOPE COOKS SOURCE NO STEAL DRUNK HULK RECIPE!