batchnz/craft

Explicitly set the @webroot alias

Opened this issue · 0 comments

I received the following error when clearing the cache from the CLI:

Error clearing cache Control Panel resources: Unable to clear Control Panel resources because the location isn't known for console commands.

The CLI then returned this solution:

Explicitly set the @webroot alias in config/general.php to avoid this error.

We need to explore doing this. More info here.