I have my cake/console directory in my path. 'cake' gives the expected
welcome message if invoked w/o arguments from any directory, but 'cake
myshell' fails with a 'bus error' if I try to run from my app
directory. It only works from cake/console (where I must run it as
'cake -app ../../app myshell').
Here's the source for my shell:
<?php
class MyShell extends Shell
{
public $uses = array('Team');
public function main()
{
$this->out('npc main');
print_r($this->Team->findAll());
}
}
?>
I assume this isn't as intended. My cake version is 1.2.0.6311, though
I tried replacing my cake/console tree with the RC1 release without
effect.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---