aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2015-04-03 18:19:34 +0200
committerMaZderMind2015-04-03 18:19:34 +0200
commitcd063cf05fdf0824cdf92f4544623109acfca30c (patch)
treec68897892aed6eb27aaa7a9c577226d3542653a2
parentbcb7fbc3f20df7b20554936dfc2d5b02c92de0e0 (diff)
Fix missing trailing / when deployed directly on a domain
-rw-r--r--template/page.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/page.phtml b/template/page.phtml
index 40a26be..cad6997 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -26,8 +26,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <base href="<?=h($baseurl)?>" />
- <link href="<?=h($baseurl.forceslash($route))?>" rel="canonical" />
+ <base href="<?=h(forceslash($baseurl))?>" />
+ <link href="<?=h(forceslash($baseurl).forceslash($route))?>" rel="canonical" />
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="assets/img/favicon.png" rel="icon" type="image/png" />