mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			708 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			708 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * Yii bootstrap file.
 | 
						|
 *
 | 
						|
 * @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 = include(__DIR__ . '/classes.php');
 | 
						|
Yii::$container = new yii\di\Container;
 |