Browse Source

Renamed YiiBase to \yii\YiiBase.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
50aa72467f
  1. 4
      framework/YiiBase.php
  2. 2
      framework/yii.php

4
framework/YiiBase.php

@ -4,6 +4,8 @@
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii;
use yii\base\Exception;
use yii\base\InvalidConfigException;
use yii\base\InvalidParamException;
@ -60,7 +62,7 @@ class YiiBase
*/
public static $enableIncludePath = true;
/**
* @var yii\console\Application|yii\web\Application the application instance
* @var \yii\console\Application|\yii\web\Application the application instance
*/
public static $app;
/**

2
framework/yii.php

@ -18,7 +18,7 @@ require(__DIR__ . '/YiiBase.php');
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
class Yii extends YiiBase
class Yii extends \yii\YiiBase
{
}

Loading…
Cancel
Save