Wrong documentation - 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: Wrong documentation (/showthread.php?tid=66647) |
Wrong documentation - superior - 11-15-2016 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? RE: Wrong documentation - kilishan - 11-15-2016 Thanks for letting us know! You can make bug reports, or even better - pull requests! - over at the CI4 GitHub repo. RE: Wrong documentation - superior - 11-15-2016 (11-15-2016, 03:17 PM)kilishan Wrote: Thanks for letting us know! Thank you, will do that next time I think the documentation is wrong. |