CLI run error |
This errors comes When I am trying to run controller through command line.
like http://site.com/user/hello in cmd >php index.php user hello
Hi,
You use the $_SERVER array in your config file. This is useless when running from the command line. A good decision is based on knowledge and not on numbers. - Plato
You are right I did not write that very well.
Sorry about that, better answer When running from the command line the $_SERVER array does not set most of the items stating with "HTTP_", "SERVER_" and "REMOTE_" A good decision is based on knowledge and not on numbers. - Plato
|
Welcome Guest, Not a member yet? Register Sign In |