Commit 5ab4b06b by Alexander Makarov

bootstrap

parent 7d7ee71d
<?php <?php
define('YII_DEBUG', true);
// change the following paths if necessary $yii = __DIR__.'/../framework/yii.php';
$yii=__DIR__.'/../framework/yii.php'; require $yii;
$config=__DIR__.'/protected/config/main.php'; $config = require dirname(__DIR__).'/protected/config/main.php';
require_once($yii); $basePath = dirname(__DIR__).'/protected';
Yii::createWebApplication($config)->run(); $app = new \yii\web\Application('webapp', $basePath, $config);
$app->run();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment