diff --git a/controllers/FrontController.php b/controllers/FrontController.php
index 16d22ee..c930b81 100644
--- a/controllers/FrontController.php
+++ b/controllers/FrontController.php
@@ -101,8 +101,7 @@ class FrontController
$response,
'index.tpl',
[
- 'convert' => $this->config->convert,
- 'uglyUrls' => $this->config->uglyUrls,
+ 'config' => $this->config,
'class' => 'index',
'description' => 'Easily download videos from Youtube, Dailymotion, Vimeo and other websites.',
'domain' => $uri->getScheme().'://'.$uri->getAuthority(),
@@ -247,8 +246,6 @@ class FrontController
'protocol' => $protocol,
'config' => $this->config,
'canonical' => $this->getCanonicalUrl($request),
- 'uglyUrls' => $this->config->uglyUrls,
- 'remux' => $this->config->remux,
]
);
diff --git a/templates/index.tpl b/templates/index.tpl
index 9f3583c..12d78d8 100644
--- a/templates/index.tpl
+++ b/templates/index.tpl
@@ -12,11 +12,11 @@
- {if $uglyUrls}
+ {if $config->uglyUrls}
{/if}
- {if $convert}
+ {if $config->convert}