(function_exists('xdebug_get_headers')?xdebug_get_headers():headers_list())// cli sapi doesn't do headers, prefer xdebug_get_headers() which works under cli
);
// reset environment
...
...
@@ -102,14 +106,15 @@ class TestRequest {
* @todo make this work with other end points
*/
protectedfunctionsetUri($uri){
if(substr($uri,0,9)!='/doku.php'){
thrownewException("only '/doku.php' is supported currently");