Wednesday 16 February 2011 6:40:32 am
Hi, i want to redirect from within a own module to another module. I have tried the usual way: header(sprintf('Location: %s', $url)); exit(); But ez stops with a message: "Fatal error: eZ Publish did not finish its request. The execution of eZ Publish was abruptly ended," This comes from the exit(), but if i remove the exit, the redirect is ignored. I found the RedirectOperators which allow redirection from a template and i checked the source: They do exactly the same. Why is it working from a template and not from a module? How can i redirect from a module?
|