summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index 34e5eeba..2a9f456c 100644
--- a/public/index.php
+++ b/public/index.php
@@ -156,7 +156,7 @@ echo template_render('../templates/layout.html', array(
'content' => msg() . $content,
'header_toolbar' => header_toolbar(),
'faq_url' => $faq_url,
- 'locale' => $_SESSION['locale']
+ 'locale' => locale()
));
?>