Browse Source

renamed yiic webapp -> yiic app

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
c00c2dcb1a
  1. 2
      framework/console/Application.php
  2. 6
      framework/console/controllers/AppController.php
  3. 2
      framework/console/webapp/config.php

2
framework/console/Application.php

@ -126,7 +126,7 @@ class Application extends \yii\base\Application
'message' => 'yii\console\controllers\MessageController',
'help' => 'yii\console\controllers\HelpController',
'migrate' => 'yii\console\controllers\MigrateController',
'webapp' => 'yii\console\controllers\WebappController',
'app' => 'yii\console\controllers\AppController',
'cache' => 'yii\console\controllers\CacheController',
);
}

6
framework/console/controllers/WebappController.php → framework/console/controllers/AppController.php

@ -1,6 +1,6 @@
<?php
/**
* WebappController class file.
* AppController class file.
*
* @link http://www.yiiframework.com/
* @copyright Copyright &copy; 2008 Yii Software LLC
@ -20,7 +20,7 @@ use yii\base\Exception;
* @author Alexander Makarov <sam@rmcreative.ru>
* @since 2.0
*/
class WebappController extends Controller
class AppController extends Controller
{
private $_rootPath;
private $_config;
@ -53,7 +53,7 @@ class WebappController extends Controller
public function actionIndex()
{
$this->forward('help/index', array('-args' => array('webapp/create')));
$this->forward('help/index', array('-args' => array('app/create')));
}
/**

2
framework/console/webapp/config.php

@ -1,5 +1,5 @@
<?php
/** @var $controller \yii\console\controllers\WebappController */
/** @var $controller \yii\console\controllers\AppController */
$controller = $this;
return array(

Loading…
Cancel
Save