Browse Source

Reverted back the change to RequestPanel::save() as it causes issue.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
2bd594ea28
  1. 8
      extensions/yii/debug/panels/RequestPanel.php

8
extensions/yii/debug/panels/RequestPanel.php

@ -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,
]; ];
} }

Loading…
Cancel
Save