aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-17 15:42:56 -0800
committerfriendica <info@friendica.com>2011-11-17 15:42:56 -0800
commitfa4742e6eec1850f1bb53e38379cf2aac650cc3b (patch)
tree2dbbc885adcba4f1cb8277ebe8e782105489c05d /index.php
parentc9846b745dfe2a4c20ffe4e1f48bb18da3886fd4 (diff)
downloadvolse-hubzilla-fa4742e6eec1850f1bb53e38379cf2aac650cc3b.tar.gz
volse-hubzilla-fa4742e6eec1850f1bb53e38379cf2aac650cc3b.tar.bz2
volse-hubzilla-fa4742e6eec1850f1bb53e38379cf2aac650cc3b.zip
comment boxes not work in alternate languages
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/index.php b/index.php
index 78ceb6d77..e43d7332d 100644
--- a/index.php
+++ b/index.php
@@ -75,8 +75,6 @@ $a->timezone = (($default_timezone) ? $default_timezone : 'UTC');
date_default_timezone_set($a->timezone);
-$a->init_pagehead();
-
session_start();
/**
@@ -95,6 +93,12 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) {
load_translation_table($lang);
}
+/*
+ * Create the page head after setting the language
+ *
+ */
+
+$a->init_pagehead();
/**
*