Running Codeigniter via CLI outputs website root instead of expected result

前端 未结 6 1777
慢半拍i
慢半拍i 2020-12-20 12:57

I\'m following this tutorial on running Codeigniter via the CLI. I\'ve done everything they\'ve done (copied and pasted) now when I run this command, it doesn\'t do

6条回答
  •  渐次进展
    2020-12-20 13:56

    For me this was resolved by changing:

    $config['uri_protocol'] = 'AUTO' 
    

    in the main config file.

    I had previously changed it to

    'REQUEST_URI'
    

    which doesn't work with CLI apparently.

提交回复
热议问题