I
I
Ilya Beloborodov2017-05-20 19:15:50
Yii
Ilya Beloborodov, 2017-05-20 19:15:50

Console command in from action?

How to correctly call this command php yii message @app/messages/config.phpfrom the action?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-05-20
@webinar

https://nix-tips.ru/yii2-api-guides/guide-ru-tutor...
or do you think it is possible to call a console command in a web controller action? If yes, then you are wrong. Alternatively, you can execute the logic of the message action.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question