From e90b9e34391e7476a3b427c4570ed9c1515a6512 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 15 Jan 2019 11:16:21 +0100 Subject: [PATCH] fix: Missing Smarty variable in some routes --- controllers/FrontController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 41e8020..7c27d75 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -190,6 +190,7 @@ class FrontController $response, 'password.tpl', [ + 'config' => $this->config, 'class' => 'password', 'title' => _('Password prompt'), 'description' => _('You need a password in order to download this video with Alltube Download'), @@ -379,6 +380,7 @@ class FrontController $response, 'error.tpl', [ + 'config' => $this->config, 'errors' => $exception->getMessage(), 'class' => 'video', 'title' => _('Error'),