• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect redirect

#2
You want to check “if $result instanceof RedirectResponse”

E.g. https://github.com/tattersoftware/codeig...r.php#L132

CodeIgniter\HTTP\RedirectResponse is the full namespaced version
Reply


Messages In This Thread
Detect redirect - by XTAZ - 12-07-2019, 08:16 AM
RE: Detect redirect - by MGatner - 12-08-2019, 08:02 AM
RE: Detect redirect - by ProfessionalCoder - 12-12-2019, 02:49 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.