mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
10 lines
233 B
PHP
10 lines
233 B
PHP
<?php
|
|
|
|
defined('YII_DEBUG') or define('YII_DEBUG', true);
|
|
|
|
require(__DIR__ . '/../framework/yii.php');
|
|
|
|
$config = require(__DIR__ . '/protected/config/main.php');
|
|
$application = new yii\web\Application($config);
|
|
$application->run();
|