Hello, world!
I'm working with CodeIgniter for the first time, and I've run into a problem with using it via CLI. I have a controller at application/controllers/datasource.php, and when I try to run:
$ php index.php datasource
It outputs the home page. Opening other controllers in the browser works just fine, but I can't seem to load any controllers from the CLI. I tried changing the $config['uri_protocol'] variable, but nothing affected it. What might the problem be?
Thanks!
Note: this is the exact problem described here, but the accepted answer isn't a solution at all.