From 4493cf4debd38473fb9ebc3fe00a04ca0f42ece0 Mon Sep 17 00:00:00 2001 From: it3rmit Date: Fri, 18 Apr 2014 12:43:23 +0300 Subject: [PATCH] Update basics.md I think, the correct form is `should be defined` OR `is defined`, but not `be defined` --- docs/guide/basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/basics.md b/docs/guide/basics.md index 1e11f6c68a..e613d1b940 100644 --- a/docs/guide/basics.md +++ b/docs/guide/basics.md @@ -66,7 +66,7 @@ must start with an `@` symbol so that it can be differentiated from file/directo For example, the alias `@yii` refers to the Yii installation directory while `@web` contains the base URL for the currently running web application. Path aliases are supported in most places in the Yii core code. For example, `FileCache::cachePath` can accept both a path alias and a normal directory path. Path aliases are also closely related to class namespaces. It is recommended that a path -alias be defined for each root namespace so that Yii's class autoloader can be used without +alias should be defined for each root namespace so that Yii's class autoloader can be used without any further configuration. For example, because `@yii` refers to the Yii installation directory, a class like `yii\web\Request` can be autoloaded by Yii. If you use a third party library such as Zend Framework, you may define a path alias `@Zend` which refers to its installation