Welcome Guest, Not a member yet? Register   Sign In
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.
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




Theme © iAndrew 2016 - Forum software by © MyBB