That worked, thanks Vance.
I don't think you need to look further into it...I think I figured out
my error. I tried to set the header in the view...while PHP had not
sent the headers yet Alloy had already done its part with buffering
and setting the headers. I was trying to set the headers through
Alloy after it had rendered its part but before PHP.
On Mar 28, 10:18 am, Vance Lucas <
va...@vancelucas.com> wrote:
> Update the code block to this and see what happens:
>
> <?php
> $h = (int)headers_sent();
> $k = Kernel();
> $k->response()->contentType('text/plain');
> $k->response()->sendHeaders();
>
> echo 'Headers?: ' . $h;
> ?>
>
> I'll look into other places that might be overriding this.
>
> --
> Vance Lucashttp://
vancelucas.com