up
main: added bugfix for server REQUEST_URI when it contains full url by wrong server config
debug up
debug up
added compatibility functions