• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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