|
@ -22,8 +22,13 @@ |
|
|
$this->control_func = 'home'; |
|
|
$this->control_func = 'home'; |
|
|
} else { |
|
|
} else { |
|
|
$array = explode('/', $argv); |
|
|
$array = explode('/', $argv); |
|
|
$this->control_name = 'index'; |
|
|
if(count($array)==1){ |
|
|
$this->control_func = $array[0]=='' ? 'home' : $array[0]; |
|
|
$this->control_name = 'index'; |
|
|
|
|
|
$this->control_func = $array[0]=='' ? 'home' : $array[0]; |
|
|
|
|
|
}else{ |
|
|
|
|
|
$this->control_name = $array[0]; |
|
|
|
|
|
$this->control_func = $array[1]=='' ? 'home' : $array[1]; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 还原GET |
|
|
// 还原GET |
|
|