mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-22 19:31:02 +08:00
Reverted back the change to RequestPanel::save() as it causes issue.
This commit is contained in:
@ -81,11 +81,11 @@ class RequestPanel extends Panel
|
|||||||
'action' => $action,
|
'action' => $action,
|
||||||
'actionParams' => Yii::$app->requestedParams,
|
'actionParams' => Yii::$app->requestedParams,
|
||||||
'SERVER' => empty($_SERVER) ? [] : $_SERVER,
|
'SERVER' => empty($_SERVER) ? [] : $_SERVER,
|
||||||
'GET' => empty(Yii::$app->request->get()) ? [] : Yii::$app->request->get(),
|
'GET' => empty($_GET) ? [] : $_GET,
|
||||||
'POST' => empty(Yii::$app->request->post()) ? [] : Yii::$app->request->post(),
|
'POST' => empty($_POST) ? [] : $_POST,
|
||||||
'COOKIE' => empty(Yii::$app->request->cookies) ? [] : Yii::$app->request->cookies,
|
'COOKIE' => empty($_COOKIE) ? [] : $_COOKIE,
|
||||||
'FILES' => empty($_FILES) ? [] : $_FILES,
|
'FILES' => empty($_FILES) ? [] : $_FILES,
|
||||||
'SESSION' => empty(Yii::$app->session) ? [] : Yii::$app->session,
|
'SESSION' => empty($_SESSION) ? [] : $_SESSION,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user