diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 04734da..91900c0 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -80,6 +80,7 @@ class FrontController */ public function index(Request $request, Response $response) { + $uri = $request->getUri(); $this->view->render( $response, 'index.tpl', @@ -88,6 +89,7 @@ class FrontController 'uglyUrls' => $this->config->uglyUrls, 'class' => 'index', 'description' => 'Easily download videos from Youtube, Dailymotion, Vimeo and other websites.', + 'domain' => $uri->getScheme().'://'.$uri->getAuthority(), ] ); } diff --git a/templates/index.tpl b/templates/index.tpl index 66eb1ab..d16f6f0 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -28,7 +28,7 @@ See all supported websites

Drag this to your bookmarks bar:

- Bookmarklet + Bookmarklet