We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
Is there a way to run the shell command
"bin\cake acl_extras aco_sync"
from a controllers action?
If so, could you provide an example please?
Thanks, Frank
The text was updated successfully, but these errors were encountered:
Yes you can. All the shell does is run the methods in the AclExtras class. Take a look at how Croogo does it: https://github.com/croogo/croogo/blob/3.0/Acl/src/Controller/Admin/ActionsController.php#L159-L174
AclExtras
Sorry, something went wrong.
Perfect - works like a charm :) I tried that before... "$AclExtras->startup($this);" was the magic trick :) Thanks!
No branches or pull requests
Hi
Is there a way to run the shell command
"bin\cake acl_extras aco_sync"
from a controllers action?
If so, could you provide an example please?
Thanks,
Frank
The text was updated successfully, but these errors were encountered: