Help Needed with Documentation |
(06-24-2021, 01:50 AM)acutetech Wrote: My question was: is the online documentation up to date, or out of date? As a complete newbie I notice the documentation says "A fresh install has six directories: /app, /system, /public, /writable, /tests and possibly /docs." But my fresh installation (via Scriptaculous) is different. It has these top-level directories: /app, /public, /tests, /vendor, /writable This makes me think the documenation is not up to date, which is of some concern as I will have to rely on docs (and forum). Thank you! I sent a PR to fix it. https://github.com/codeigniter4/CodeIgniter4/pull/5347 (06-24-2021, 01:50 AM)acutetech Wrote: Also, the "First Application" tutorial Pages.php has this: I sent a PR to fix it. https://github.com/codeigniter4/CodeIgniter4/pull/5348 Using BaseController is recommended. Because if you want to add something to all your controller later, you could do it with BaseController. But if you don't use BaseController, extend Controller, your controller is completely fine. |
Welcome Guest, Not a member yet? Register Sign In |