revert a little

This commit is contained in:
Shish 2015-08-01 16:15:36 +01:00
parent ab4c558126
commit aed08d3c12

View File

@ -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"];
}