index.php 343 B

123456789101112
  1. <?php
  2. // comment out the following line to disable debug mode
  3. defined('YII_DEBUG') or define('YII_DEBUG', true);
  4. require(__DIR__ . '/../vendor/yiisoft/yii2/yii/Yii.php');
  5. require(__DIR__ . '/../vendor/autoload.php');
  6. $config = require(__DIR__ . '/../config/main.php');
  7. $application = new yii\web\Application($config);
  8. $application->run();