New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php leaf
not working from any other directory
#12
Comments
@golles I'll check out this issue. In the meantime, you can use the |
I don't have a
|
Sorry, I meant the root directory of your application. There should be a |
Indeed, that only works if I run it from that directory. I've also tried to run it from any project directory eg, |
Is there any reason you're trying to run it from a different directory? The actual intent of that file is to be run from your project directory |
Yes, I intend to run commands by cron |
Describe the bug
The project
leaf
(php) file cannot be executed from any other directory.I realized this when I wanted to set up some commands in cron.
To Reproduce
Steps to reproduce the behavior:
leaf create newleaf
(choose MVC)php newleaf/leaf
Expected behavior
I would expect, independent the folder you are in, that this file could be executed.
Additional context
For now, I created
leaf.sh
to allow to run leaf commands by corn triggers.The text was updated successfully, but these errors were encountered: