X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FWeb.php;h=c9659b68231f276ffd4951b15173c196b2b37acd;hb=930d06a96fa24317f053fecb8569aacaa69a0778;hp=e9d5d1659e9d59481b5c60239e4ac0bb2e2f74d5;hpb=ebc0d017c8a24bd16ca1f4347b39b07ba4349135;p=pharext%2Fpharext.org diff --git a/app/Web.php b/app/Web.php index e9d5d16..c9659b6 100644 --- a/app/Web.php +++ b/app/Web.php @@ -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); }