index.php 249 Bytes
Newer Older
1 2 3
<?php
define('YII_DEBUG', true);

4 5
require __DIR__.'/../framework/yii.php';

6
$config = require dirname(__DIR__).'/protected/config/main.php';
7
$config['basePath'] = dirname(__DIR__).'/protected';
8

9
$app = new \yii\web\Application($config);
10
$app->run();