fix: Missing Smarty variable in some routes
This commit is contained in:
parent
460aae34ac
commit
e90b9e3439
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,7 @@ class FrontController
|
||||||
$response,
|
$response,
|
||||||
'password.tpl',
|
'password.tpl',
|
||||||
[
|
[
|
||||||
|
'config' => $this->config,
|
||||||
'class' => 'password',
|
'class' => 'password',
|
||||||
'title' => _('Password prompt'),
|
'title' => _('Password prompt'),
|
||||||
'description' => _('You need a password in order to download this video with Alltube Download'),
|
'description' => _('You need a password in order to download this video with Alltube Download'),
|
||||||
|
@ -379,6 +380,7 @@ class FrontController
|
||||||
$response,
|
$response,
|
||||||
'error.tpl',
|
'error.tpl',
|
||||||
[
|
[
|
||||||
|
'config' => $this->config,
|
||||||
'errors' => $exception->getMessage(),
|
'errors' => $exception->getMessage(),
|
||||||
'class' => 'video',
|
'class' => 'video',
|
||||||
'title' => _('Error'),
|
'title' => _('Error'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue