I need to redirect according to some conditions in the bootstrap file.
It is done AFTER the front controller and routes are defined.
How do I do that?
(I know I can simply use header(‘Location: ….) The point is I need to use the Router to build the URL.
I need to redirect according to some conditions in the bootstrap file. It is
Share
more than year later, i’m programming in ZF and I got this solution for your problem.
Here is my function in bootstrap that determines where the user is logged on.
{
}