diff --git a/Gii/Gii.php b/Gii/Gii.php index 0e6cb152..5286d8c9 100644 --- a/Gii/Gii.php +++ b/Gii/Gii.php @@ -60,7 +60,7 @@ class Gii if (empty($make)) { throw new Exception('构建类型不能为空~'); } - switch ($make) { + switch (strtolower($make)) { case 'task': $task = new GiiTask(); $task->setInput($this->input);