Welcome Guest, Not a member yet? Register   Sign In
URI trouble? *solved*
#1

[eluser]ipsod[/eluser]
I switched $config['uri_protocol'] to QUERY_STRING and it works. Now to see if I can get command line calls to work.

___original_post_______________________________________________________________

I'm using CI 2.0.0 with a .htaccess rewrite, going to "mysite.com/controller/method" from browser.

In CI_URI, function _fetch_uri_string(), line 65 evaluates TRUE and shouldn't, since the comment above it says "Arguments exist, it must be a command line request".
Code:
65: if ( ! empty($_SERVER['argv']))


So, this function is called, line 67, and it returns this value - Array ( [0] => /controller/method ).
Code:
67: $this->uri_string = $this->_parse_cli_args();

I "fixed" it by copying URI to application/core/MY_URI.php and commenting that if out, but I can't get command line requests to work.

Please help.




Theme © iAndrew 2016 - Forum software by © MyBB