Fix theme pages

This commit is contained in:
Matias Griese
2014-08-29 11:59:43 +03:00
parent 11d2f050c0
commit eb6df1f343

View File

@@ -170,6 +170,7 @@ class AdminPlugin extends Plugin
$twig->twig_vars['base_url_relative'] .=
($twig->twig_vars['base_url_relative'] != '/' ? '/' : '') . trim($this->config->get('plugins.admin.route'), '/');
$twig->twig_vars['theme_url'] = $theme_url;
$twig->twig_vars['base_url'] = $twig->twig_vars['base_url_relative'];
$twig->twig_vars['admin'] = $this->admin;
switch ($this->template) {