bug at redirect at CI4 |
problem when use redirect at filter:
PHP Code: public function before(RequestInterface $request)
Have nothing to add to the subject at hand. Please don't make two threads and bump a thread with four posts. All posts are getting moderated for new user, just to avoid spam. These posts and the extra thread have been deleted.
(06-20-2020, 04:35 PM)malsmary Wrote: problem when use redirect at filter: And what exactly is the problem? (06-21-2020, 09:43 AM)dave friend Wrote:I'm having problems implementing a site-wide Filter redirection for maintenance. As you can see, I've tried to brute-force it using the infinite monkey theorem, but even this hasn't helped.(06-20-2020, 04:35 PM)malsmary Wrote: problem when use redirect at filter:
(06-21-2020, 12:48 PM)malsmary Wrote: problem when use redirect at filter: I don't believe route_to() does what you expect. Try replacing that call with PHP Code: return redirect('home')); |
Welcome Guest, Not a member yet? Register Sign In |