diff options
Diffstat (limited to 'lib/SimpleSAML/XHTML/Template.php')
-rw-r--r-- | lib/SimpleSAML/XHTML/Template.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 7cbf709..8214ac1 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -50,7 +50,8 @@ class SimpleSAML_XHTML_Template { $this->configuration = $configuration; $this->template = $template; - $this->data['baseurlpath'] = $this->configuration->getBaseURL(); + // TODO: do not remove the slash from the beginning, change the templates instead! + $this->data['baseurlpath'] = ltrim($this->configuration->getBasePath(), '/'); $this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary); } |