From b074ecebe0a5b2933af708041afaacb0a17e6ad2 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 6 Aug 2012 21:58:39 -0400 Subject: [PATCH] renamed console controller folder name. --- framework/console/{commands => controllers}/AppController.php | 0 framework/console/{commands => controllers}/HelpController.php | 2 +- .../console/{commands => controllers}/MessageController.php | 0 .../console/{commands => controllers}/MigrateController.php | 0 framework/console/{commands => controllers}/ShellController.php | 0 framework/yiic.php | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) rename framework/console/{commands => controllers}/AppController.php (100%) rename framework/console/{commands => controllers}/HelpController.php (99%) rename framework/console/{commands => controllers}/MessageController.php (100%) rename framework/console/{commands => controllers}/MigrateController.php (100%) rename framework/console/{commands => controllers}/ShellController.php (100%) diff --git a/framework/console/commands/AppController.php b/framework/console/controllers/AppController.php similarity index 100% rename from framework/console/commands/AppController.php rename to framework/console/controllers/AppController.php diff --git a/framework/console/commands/HelpController.php b/framework/console/controllers/HelpController.php similarity index 99% rename from framework/console/commands/HelpController.php rename to framework/console/controllers/HelpController.php index d986363ef7..8806fe08ac 100644 --- a/framework/console/commands/HelpController.php +++ b/framework/console/controllers/HelpController.php @@ -7,7 +7,7 @@ * @license http://www.yiiframework.com/license/ */ -namespace yii\console\commands; +namespace yii\console\controllers; use yii\base\Application; use yii\base\InlineAction; diff --git a/framework/console/commands/MessageController.php b/framework/console/controllers/MessageController.php similarity index 100% rename from framework/console/commands/MessageController.php rename to framework/console/controllers/MessageController.php diff --git a/framework/console/commands/MigrateController.php b/framework/console/controllers/MigrateController.php similarity index 100% rename from framework/console/commands/MigrateController.php rename to framework/console/controllers/MigrateController.php diff --git a/framework/console/commands/ShellController.php b/framework/console/controllers/ShellController.php similarity index 100% rename from framework/console/commands/ShellController.php rename to framework/console/controllers/ShellController.php diff --git a/framework/yiic.php b/framework/yiic.php index a6b205d8e3..9b386903cf 100644 --- a/framework/yiic.php +++ b/framework/yiic.php @@ -13,7 +13,7 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r')); require(__DIR__ . '/yii.php'); $config = array( - 'controllerPath' => '@yii/console/commands', + 'controllerPath' => '@yii/console/controllers', ); $id = 'yiic'; $basePath = __DIR__ . '/console';