diff --git a/docs/guide/concept-aliases.md b/docs/guide/concept-aliases.md index 5e7e2e2e3a..aa37e4f69b 100644 --- a/docs/guide/concept-aliases.md +++ b/docs/guide/concept-aliases.md @@ -123,6 +123,7 @@ The `@yii` alias is defined when you include the `Yii.php` file in your [entry s The rest of the aliases are defined in the application constructor when applying the application [configuration](concept-configurations.md). +> Note: `@web` and `@webroot` aliases as their descriptions indicate are defined within [[yii\web\Application|Web application]] and therefore are not available for [[yii\console\Application|Console application]] by default. Extension Aliases -----------------