From 8cbb86045e1915948ab8b7c45fa43129ae92e307 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 19 Aug 2015 14:58:42 -0600 Subject: [PATCH] Added a simple base_url with no language (useful for admin) --- system/src/Grav/Common/Twig/Twig.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/src/Grav/Common/Twig/Twig.php b/system/src/Grav/Common/Twig/Twig.php index d8f790962..8b54ab2aa 100644 --- a/system/src/Grav/Common/Twig/Twig.php +++ b/system/src/Grav/Common/Twig/Twig.php @@ -150,6 +150,7 @@ class Twig 'uri' => $this->grav['uri'], 'base_dir' => rtrim(ROOT_DIR, '/'), 'base_url' => $this->grav['base_url'] . $language_append, + 'base_url_simple' => $this->grav['base_url'], 'base_url_absolute' => $this->grav['base_url_absolute'] . $language_append, 'base_url_relative' => $this->grav['base_url_relative'] . $language_append, 'theme_dir' => $locator->findResource('theme://'),