![]() |
Redirect inside Constructor NOT WORKING - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Redirect inside Constructor NOT WORKING (/showthread.php?tid=74537) Pages:
1
2
|
RE: Redirect inside Constructor NOT WORKING - blaasvaer - 09-03-2020 (12-02-2019, 10:15 AM)kilishan Wrote: "code cleanness" can mean any number of things. For many of those definitions, Controller Filters, as previously mentioned, will keep it clean for you. Then please add this 'note' to the place where we all seem to end up, namely: typing 'redirect' into the search field of the docs and then onwards from there ... This is the 'user experience' we get: Search Results Search finished, found 18 page(s) matching the search query.
RE: Redirect inside Constructor NOT WORKING - cvlancvlan - 08-04-2021 PHP Code: public function __construct() { More info https://codeigniter.com/user_guide/general/errors.html RE: Redirect inside Constructor NOT WORKING - paliz - 08-05-2021 Redirect in filter no in ctl RE: Redirect inside Constructor NOT WORKING - superior - 08-08-2021 I would recommend using Filters as well, keep your code organized is important. |