Yii2 Bootstrap 3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
477 B

<?php
if(!ini_get('date.timezone')) {
date_default_timezone_set('UTC');
}
12 years ago
// comment out the following line to disable debug mode
defined('YII_DEBUG') or define('YII_DEBUG', true);
$frameworkPath = __DIR__ . '/../../yii';
12 years ago
require($frameworkPath . '/Yii.php');
// Register Composer autoloader
12 years ago
@include($frameworkPath . '/vendor/autoload.php');
12 years ago
$config = require(__DIR__ . '/protected/config/main.php');
$application = new yii\web\Application($config);
$application->run();