Set $path before returning the request
authorChuck Hagenbuch <chuck@horde.org>
Sat, 24 Jul 2010 20:10:01 +0000 (16:10 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 24 Jul 2010 20:10:01 +0000 (16:10 -0400)
framework/Core/lib/Horde/Core/Factory/Request.php

index 9856c14..599df1f 100644 (file)
@@ -5,6 +5,8 @@ class Horde_Core_Factory_Request
 {
     public function create(Horde_Injector $injector)
     {
-        return new Horde_Controller_Request_Http($_SERVER['REQUEST_URI']);
+        $request = new Horde_Controller_Request_Http();
+        $request->setPath($_SERVER['REQUEST_URI']);
+        return $request;
     }
 }