Commit c00c2dcb by Alexander Makarov

renamed yiic webapp -> yiic app

parent a5fe4a6a
...@@ -126,7 +126,7 @@ class Application extends \yii\base\Application ...@@ -126,7 +126,7 @@ class Application extends \yii\base\Application
'message' => 'yii\console\controllers\MessageController', 'message' => 'yii\console\controllers\MessageController',
'help' => 'yii\console\controllers\HelpController', 'help' => 'yii\console\controllers\HelpController',
'migrate' => 'yii\console\controllers\MigrateController', 'migrate' => 'yii\console\controllers\MigrateController',
'webapp' => 'yii\console\controllers\WebappController', 'app' => 'yii\console\controllers\AppController',
'cache' => 'yii\console\controllers\CacheController', 'cache' => 'yii\console\controllers\CacheController',
); );
} }
......
<?php <?php
/** /**
* WebappController class file. * AppController class file.
* *
* @link http://www.yiiframework.com/ * @link http://www.yiiframework.com/
* @copyright Copyright &copy; 2008 Yii Software LLC * @copyright Copyright &copy; 2008 Yii Software LLC
...@@ -20,7 +20,7 @@ use yii\base\Exception; ...@@ -20,7 +20,7 @@ use yii\base\Exception;
* @author Alexander Makarov <sam@rmcreative.ru> * @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0 * @since 2.0
*/ */
class WebappController extends Controller class AppController extends Controller
{ {
private $_rootPath; private $_rootPath;
private $_config; private $_config;
...@@ -53,7 +53,7 @@ class WebappController extends Controller ...@@ -53,7 +53,7 @@ class WebappController extends Controller
public function actionIndex() public function actionIndex()
{ {
$this->forward('help/index', array('-args' => array('webapp/create'))); $this->forward('help/index', array('-args' => array('app/create')));
} }
/** /**
......
<?php <?php
/** @var $controller \yii\console\controllers\WebappController */ /** @var $controller \yii\console\controllers\AppController */
$controller = $this; $controller = $this;
return array( return array(
......
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