diff --git a/framework/console/Application.php b/framework/console/Application.php index 537821c..11b7d11 100644 --- a/framework/console/Application.php +++ b/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', ); } diff --git a/framework/console/controllers/WebappController.php b/framework/console/controllers/AppController.php similarity index 97% rename from framework/console/controllers/WebappController.php rename to framework/console/controllers/AppController.php index c19eff3..32dbe2e 100644 --- a/framework/console/controllers/WebappController.php +++ b/framework/console/controllers/AppController.php @@ -1,6 +1,6 @@ * @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'))); } /** diff --git a/framework/console/webapp/config.php b/framework/console/webapp/config.php index 6a8d28a..112fb18 100644 --- a/framework/console/webapp/config.php +++ b/framework/console/webapp/config.php @@ -1,5 +1,5 @@