Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

code not buffering output immediately

#26

ob_start() isn't needed because php has it enabled already.

ob_implicit_flush(true); is at the beginning of index() already.

Reported by S. Shehzed · November 25th, 2010 @ 03:10 PM

State: resolved
Milestone: v0.20
Assigned to: S. Shehzed S. Shehzed

Activity

  1. S. Shehzed
    S. Shehzed
    • 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 write flush() 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).

    November 30th, 2010 @ 04:20 AM

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.