diff --git a/dist/admin/html.open/lib/DInfo.php b/dist/admin/html.open/lib/DInfo.php index 8afdb826..c495ec04 100644 --- a/dist/admin/html.open/lib/DInfo.php +++ b/dist/admin/html.open/lib/DInfo.php @@ -71,11 +71,11 @@ public function ShowDebugInfo() public function InitConf() { $has_pid = false; - $mid = UIBase::GrabGoodInput("request", 'm'); + $mid = UIBase::GrabGoodInput("get_post", 'm'); if ($mid != null) { $this->_mid = $mid; - $pid = UIBase::GrabGoodInput("request", 'p'); + $pid = UIBase::GrabGoodInput("get_post", 'p'); if ($pid != null) { $this->_pid = $pid; $has_pid = true; diff --git a/dist/admin/html.open/view/UIBase.php b/dist/admin/html.open/view/UIBase.php index 1c3a51bb..2925e590 100644 --- a/dist/admin/html.open/view/UIBase.php +++ b/dist/admin/html.open/view/UIBase.php @@ -302,6 +302,10 @@ public static function GrabInput($origin, $name, $type = '') break; case "POST": $temp = $_POST; break; + case "POST_GET": + case "GET_POST": + $temp = array_merge($_GET, $_POST); + break; case "COOKIE": $temp = $_COOKIE; break; case "FILE": $temp = $_FILES;