Misc/Fixes
* cast GET-params to lower case * fixed typo in constant name * fixed scope issue when aggregating sql stats
This commit is contained in:
parent
da1946df0f
commit
972a7f241e
3 changed files with 26 additions and 19 deletions
|
|
@ -241,7 +241,7 @@ if (!CLI)
|
|||
}
|
||||
|
||||
// parse page-parameters .. sanitize before use!
|
||||
$str = explode('&', $_SERVER['QUERY_STRING'], 2)[0];
|
||||
$str = explode('&', mb_strtolower($_SERVER['QUERY_STRING']), 2)[0];
|
||||
$_ = explode('=', $str, 2);
|
||||
$pageCall = $_[0];
|
||||
$pageParam = isset($_[1]) ? $_[1] : null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue