改名
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ class Gii
|
|||||||
if (empty($make)) {
|
if (empty($make)) {
|
||||||
throw new Exception('构建类型不能为空~');
|
throw new Exception('构建类型不能为空~');
|
||||||
}
|
}
|
||||||
switch ($make) {
|
switch (strtolower($make)) {
|
||||||
case 'task':
|
case 'task':
|
||||||
$task = new GiiTask();
|
$task = new GiiTask();
|
||||||
$task->setInput($this->input);
|
$task->setInput($this->input);
|
||||||
|
|||||||
Reference in New Issue
Block a user