diff --git a/Kwf/Setup.php b/Kwf/Setup.php
index <HASH>..<HASH> 100644
--- a/Kwf/Setup.php
+++ b/Kwf/Setup.php
@@ -164,6 +164,7 @@ class Kwf_Setup
         switch (php_sapi_name()) {
             case 'apache2handler':
                 $requestPath = $_SERVER['REQUEST_URI'];
+                $requestPath = strtok($requestPath, '?');
                 break;
             case 'cli':
                 $requestPath = false;
Fix REQUEST_URI usage, it also contains query parameters

Simply cut them off

Fixes bug introduced with <I>d9e<I>c<I>b<I>ba<I>cecabb<I>d<I>fb<I>