Browse Source

w

tags/2.0.0-beta
Qiang Xue 14 years ago
parent
commit
0918f32ed3
  1. 6
      framework/base/YiiBase.php
  2. 10
      framework/yii.php

6
framework/base/YiiBase.php

@ -3,7 +3,7 @@
namespace yii;
/**
* Gets the application start timestamp.
* This constant defines the application start timestamp.
*/
defined('YII_BEGIN_TIME') or define('YII_BEGIN_TIME', microtime(true));
/**
@ -28,10 +28,6 @@ defined('YII_ENABLE_ERROR_HANDLER') or define('YII_ENABLE_ERROR_HANDLER',true);
* Defines the Yii framework installation path.
*/
defined('YII_PATH') or define('YII_PATH',dirname(__FILE__));
/**
* Defines the Zii library installation path.
*/
defined('YII_ZII_PATH') or define('YII_ZII_PATH',YII_PATH.DIRECTORY_SEPARATOR.'zii');
/**
* YiiBase is a helper class serving common framework functionalities.

10
framework/yii.php

@ -4,11 +4,11 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright &copy; 2008-2011 Yii Software LLC
* @copyright Copyright &copy; 2008-2012 Yii Software LLC
* @license http://www.yiiframework.com/license/
* @version $Id: yii.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system
* @since 1.0
* @package yii
* @since 2.0
*/
require(__DIR__ . '/base/YiiBase.php');
@ -22,8 +22,8 @@ require(__DIR__.'/base/YiiBase.php');
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: yii.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system
* @since 1.0
* @since 2.0
*/
class Yii extends yii\YiiBase
class Yii extends \yii\YiiBase
{
}

Loading…
Cancel
Save