From 2bd594ea28f40792159333be98f31922ae150ce0 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Wed, 1 Jan 2014 22:21:00 -0500 Subject: [PATCH] Reverted back the change to RequestPanel::save() as it causes issue. --- extensions/yii/debug/panels/RequestPanel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/yii/debug/panels/RequestPanel.php b/extensions/yii/debug/panels/RequestPanel.php index 90f51fe..74d0f6a 100644 --- a/extensions/yii/debug/panels/RequestPanel.php +++ b/extensions/yii/debug/panels/RequestPanel.php @@ -81,11 +81,11 @@ class RequestPanel extends Panel 'action' => $action, 'actionParams' => Yii::$app->requestedParams, 'SERVER' => empty($_SERVER) ? [] : $_SERVER, - 'GET' => empty(Yii::$app->request->get()) ? [] : Yii::$app->request->get(), - 'POST' => empty(Yii::$app->request->post()) ? [] : Yii::$app->request->post(), - 'COOKIE' => empty(Yii::$app->request->cookies) ? [] : Yii::$app->request->cookies, + 'GET' => empty($_GET) ? [] : $_GET, + 'POST' => empty($_POST) ? [] : $_POST, + 'COOKIE' => empty($_COOKIE) ? [] : $_COOKIE, 'FILES' => empty($_FILES) ? [] : $_FILES, - 'SESSION' => empty(Yii::$app->session) ? [] : Yii::$app->session, + 'SESSION' => empty($_SESSION) ? [] : $_SESSION, ]; }