From 5ab4b06b86fd1e09b06074e45ae56e5cb1af9ce0 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Wed, 26 Dec 2012 16:20:17 +0400 Subject: [PATCH] bootstrap --- framework/console/create/default/index.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/framework/console/create/default/index.php b/framework/console/create/default/index.php index 810650f..461b364 100644 --- a/framework/console/create/default/index.php +++ b/framework/console/create/default/index.php @@ -1,8 +1,10 @@ run(); +$basePath = dirname(__DIR__).'/protected'; +$app = new \yii\web\Application('webapp', $basePath, $config); +$app->run(); \ No newline at end of file