[http.core] Added legacy GET parameters to router's URL param
This commit is contained in:
parent
c76dc3c5ee
commit
7dedb80793
|
@ -47,7 +47,14 @@
|
|||
|
||||
/* [3] Define default datasets (GET, POST)
|
||||
=========================================================*/
|
||||
/* (1) Add to $_GET legacy GET parameters */
|
||||
parse_str(parse_url($this->uri)['query'], $legacy_get);
|
||||
$_GET = array_merge($_GET, $legacy_get);
|
||||
|
||||
/* (2) Store GET parameters */
|
||||
$this->getdata = $_GET;
|
||||
|
||||
/* (3) Store POST parameters */
|
||||
$this->postdata = $_POST;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue