mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Yii 2 name fix (#12448)
To match Documentation Style Guide > Yii 2.0 or Yii 2 (not Yii2 or Yii2.0)
This commit is contained in:
@ -131,7 +131,7 @@ class Yii extends \yii\BaseYii
|
||||
|
||||
Yii::$classMap = include($yii2path . '/classes.php');
|
||||
|
||||
// 通过 Yii 1 注册 Yii2 的类自动加载器
|
||||
// 通过 Yii 1 注册 Yii 2 的类自动加载器
|
||||
Yii::registerAutoloader(['Yii', 'autoload']);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user