mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			272 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			272 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
define('YII_DEBUG', true);
 | 
						|
 | 
						|
$yii = __DIR__.'/../framework/yii.php';
 | 
						|
require $yii;
 | 
						|
$config = require dirname(__DIR__).'/protected/config/main.php';
 | 
						|
 | 
						|
$basePath = dirname(__DIR__).'/protected';
 | 
						|
$app = new \yii\web\Application('webapp', $basePath, $config);
 | 
						|
$app->run(); |