Welcome Guest, Not a member yet? Register   Sign In
Command Line Interface compatibility in CI2
#1

[eluser]Stunt[/eluser]
This is one of including changes in CI2 change log.1
so personally, I doesn't analyse new version yet.
Who know about "Command Line Interface compatibility" and "Command line compatibility for easy cron jobs" in CI v2 ?
did you know some detaile about that ?
I think It should be very interesting especially about Cron :-?
#2

[eluser]Drew J[/eluser]
I have this same question. Is there any elaboration on CLI + CodeIgniter? Very interested. Smile

Like Stunt, I haven't jumped into 2.0 yet, but will be in the next few weeks.
#3

[eluser]Nowakis[/eluser]
Try this:

Code:
#php -f index.php controller/method

Work!!!
#4

[eluser]ipsod[/eluser]
***** Nevermind, I fixed the command line bootstrapper with this:
Code:
if( defined('CRON') ) {
    $config['uri_protocol']    = "PATH_INFO";
} else {
    $config['uri_protocol']    = "QUERY_STRING";
}




Theme © iAndrew 2016 - Forum software by © MyBB