index.php 342 Bytes
Newer Older
1 2 3 4 5
<?php

// comment out the following line to disable debug mode
defined('YII_DEBUG') or define('YII_DEBUG', true);

6
require(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php');
7 8
require(__DIR__ . '/../vendor/autoload.php');

9
$config = require(__DIR__ . '/../config/web.php');
10 11 12

$application = new yii\web\Application($config);
$application->run();