From 6960d2cfe670f002a5611f68a948daa627460dcd Mon Sep 17 00:00:00 2001 From: Bizley Date: Tue, 2 Oct 2018 00:25:51 +0200 Subject: [PATCH] Web aliases note (#16757) [skip ci] --- docs/guide/concept-aliases.md | 1 + 1 file changed, 1 insertion(+) 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 -----------------