Welcome Guest, Not a member yet? Register   Sign In
Documentation typo error in CLI
#1

Hello
i found an error in the documentation for the CLI

hereĀ https://codeigniter.com/user_guide/cli/cli.html

this
Code:
use CodeIgniter\Controller;

class Tools extends Controller {

should be

Code:
use CodeIgniter\BaseController;

class Tools extends BaseController {
Reply
#2

Hi, may I ask what ain't working with Controller, that you need BaseController?
Reply
#3

It didn't worked when i try the code on the documentation. I did that changes and it worked .
but now that i'm reading your answer i should have tested more.
Reply
#4

The reason I'm wondering are that BaseController dosen't do anything, it just extends Controller.
https://github.com/codeigniter4/CodeIgni...roller.php
Reply




Theme © iAndrew 2016 - Forum software by © MyBB