Commit 5ab4b06b by Alexander Makarov

bootstrap

parent 7d7ee71d
<?php
define('YII_DEBUG', true);
// change the following paths if necessary
$yii=__DIR__.'/../framework/yii.php';
$config=__DIR__.'/protected/config/main.php';
$yii = __DIR__.'/../framework/yii.php';
require $yii;
$config = require dirname(__DIR__).'/protected/config/main.php';
require_once($yii);
Yii::createWebApplication($config)->run();
$basePath = dirname(__DIR__).'/protected';
$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