• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrong documentation

#1
Hi,

Just found out that the documentation is not correct for CI 4, it uses elements for CI 3 but that's diffrent in CI 4.

Session Library:
The session library writes that we should use $session->set_userdata() but when accessing the Session Library from the systems folder to find the name it's telling us to use $session->set( array ).

File:  system/Session/Session.php
Line: 420 / 457


Request Library:
The request library writes we should use $request->ipAddress(), but in the request class i've found it it's $request->getIPAddress().

File:  system/HTTP/Request.php
Line: 80 / 205


Can we report these kind mistakes to the team some how or should we just report this inside a topic?
Reply

#2
Thanks for letting us know!

You can make bug reports, or even better - pull requests! - over at the CI4 GitHub repo.
Support Development  • Practical CodeIgniter 3  • Vulcan - CLI Tools for CI4
Reply

#3
(11-15-2016, 03:17 PM)kilishan Wrote: Thanks for letting us know!

You can make bug reports, or even better - pull requests! - over at the CI4 GitHub repo.

Thank you, will do that next time I think the documentation is wrong.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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