Welcome Guest, Not a member yet? Register   Sign In
Access request and response in boot
#1

Hello,
I want to access request and responses objects during boot sequence, in app\Config\Boot\development.php (and production).
I have try $request=Services::request(), $request = \Config\Services::request(), ... Nothing.
Before upgrade it's work (4.3.3) and now, not (4.5.5)...
Thanks
Reply
#2

boot for php settings, not framework objects. try applying filters
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#3

Thanks, it's work with filters.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB