CLI & Sub-folders |
Hey Guys,
I've been following the user guide at: https://ellislab.com/codeigniter/user-gu...l/cli.html with a file in xxx/application/controllers/Tools.php I can get the following to work: php index.php tools message I want to have a sub-directory within controllers like: xxx/application/controllers/cron/Tools.php I cannot get this to run properly! Keep getting: The controller/method pair you requested was not found. I've tried running the following: php index.php tools message php index.php cron/tools message php index.php "cron/tools" message php index.php "cron" tools message php index.php cron tools message php index.php /var/www/xxx/application/controllers/cron/tools message I'm thinking it's a routing issue, but due to the fact I'm using the CLI with attempts as absolute paths it shouldn't be. Not sure. I'm pulling my hair out!! Any help would be appreciated! |
Messages In This Thread |
CLI & Sub-folders - by ricerc1 - 02-29-2016, 11:08 PM
RE: CLI & Sub-folders - by Narf - 02-29-2016, 11:17 PM
RE: CLI & Sub-folders - by keulu - 03-01-2016, 03:03 AM
RE: CLI & Sub-folders - by ricerc1 - 03-01-2016, 09:53 PM
RE: CLI & Sub-folders - by Narf - 03-02-2016, 12:16 AM
|