mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user