revert a little
This commit is contained in:
parent
ab4c558126
commit
aed08d3c12
@ -1724,12 +1724,7 @@ function _get_user() {
|
||||
}
|
||||
|
||||
function _get_query() {
|
||||
if(php_sapi_name() == 'cli-server') {
|
||||
return $_SERVER["REQUEST_URI"];
|
||||
}
|
||||
else {
|
||||
return @$_POST["q"]?:@$_GET["q"];
|
||||
}
|
||||
return @$_POST["q"]?:@$_GET["q"];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user