• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Redirect inside Constructor NOT WORKING

#3
Redirect now returns a class instead of just setting headers. You cannot return an instance of another class while instantiating a different class in PHP.

Check out Controller Filters
Support Development  • Practical CodeIgniter 3  •
Myth:AuthVulcan - CLI Tools for CI4
Reply


Messages In This Thread
RE: Redirect inside Constructor NOT WORKING - by kilishan - 10-06-2019, 08:42 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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