webhook management
[pharext/pharext.org] / app / Web.php
index e9d5d1659e9d59481b5c60239e4ac0bb2e2f74d5..c9659b68231f276ffd4951b15173c196b2b37acd 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace app;
 
-use http\Url;
 use http\Env\Request;
 use http\Env\Response;
 
@@ -20,7 +19,7 @@ class Web
                $this->baseUrl = $baseUrl;
                $this->request = $request;
                $this->response = $response;
-               $this->view = $view;
+               $this->view = $view->addData(["location" => null]);
                ob_start($response);
        }