- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
$param = Yii::app()->controller->getActionParams();
$uri = '';
$count = 0;
foreach ($param as $key => $value) {
if (!$count) {
$uri .= $key . '=' . $value;
} else {
$uri .= '&' .$key . '=' . $value;
}
$count++;
}
$this->redirect(array('/site/login?'.$uri));
inkanus-gray 27.12.2016 00:18 # +1
zenn1989 27.12.2016 13:37 # 0