From fa4742e6eec1850f1bb53e38379cf2aac650cc3b Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 17 Nov 2011 15:42:56 -0800 Subject: [PATCH] comment boxes not work in alternate languages --- boot.php | 2 +- index.php | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 7d9337b2ed..74956e9f6a 100644 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDIKA_PLATFORM', 'Friendica'); -define ( 'FRIENDIKA_VERSION', '2.3.1167' ); +define ( 'FRIENDIKA_VERSION', '2.3.1168' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1104 ); diff --git a/index.php b/index.php index 78ceb6d770..e43d7332de 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(); /** *