init
This commit is contained in:
25
vendor/yiisoft/yii2/Yii.php
vendored
Normal file
25
vendor/yiisoft/yii2/Yii.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
require __DIR__ . '/BaseYii.php';
|
||||
|
||||
/**
|
||||
* Yii is a helper class serving common framework functionalities.
|
||||
*
|
||||
* It extends from [[\yii\BaseYii]] which provides the actual implementation.
|
||||
* By writing your own Yii class, you can customize some functionalities of [[\yii\BaseYii]].
|
||||
*
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
class Yii extends \yii\BaseYii
|
||||
{
|
||||
}
|
||||
|
||||
spl_autoload_register(['Yii', 'autoload'], true, true);
|
||||
Yii::$classMap = require __DIR__ . '/classes.php';
|
||||
Yii::$container = new yii\di\Container();
|
||||
Reference in New Issue
Block a user