EllisLab/CodeIgniter — Issue #781: Overriding _output causes “display_override” hook to fail
Author: TheShiftExchange
Created: 2011-12-14 06:29:01+00:00
State: open

Is this a bug? Clean install of CI 2.1.0

In my controller:

public function _output ($output)
{
echo $output;
}

The “display_override” hook works as intended. But if I do:

public function _output ($output)
{
echo "something else";
}

The “display_override” hook is never called.

So basically I must echo $output in order to get the hook? That doesnt seem right?