Added install tool, moved all local configs and entry points to environments

This commit is contained in:
Alexander Makarov
2013-05-24 23:05:41 +04:00
parent 0e7808595b
commit 0411f09a43
18 changed files with 156 additions and 51 deletions

View File

@ -0,0 +1,15 @@
<?php
// comment out the following line to disable debug mode
defined('YII_DEBUG') or define('YII_DEBUG', true);
require(__DIR__ . '/../../vendor/yiisoft/yii2/yii/Yii.php');
require(__DIR__ . '/../../vendor/autoload.php');
$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../config/main.php'),
require(__DIR__ . '/../config/main-local.php')
);
$application = new yii\web\Application($config);
$application->run();