Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.
There is an issue on Yii2 to redirecting / urls to /frontend/web.
In other words we need a way to hidden /frontend/web from addresses.
We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)
Note the tag {{homeUrl}}
will be dynamically replaced at runtime.