You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working on a few random things in spare time at work, one of them is getting CI to work on the command line. Getting it to accept parameters was much easier than I expected, all it requires is a simple extension to the URI class.
Installation
Copy the file to application/libraries/
Set-up
In your config, set one of the following values for uri_protocol.
$config['uri_protocol'] = "AUTO"; // Works for web and command line$config['uri_protocol'] = "CLI"; // Command line only
Or to have it working on web with a specific uri type and command line at the same time, change path info to any of the normal CI uri types.