mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:00:16 +00:00
comment boxes not work in alternate languages
This commit is contained in:
parent
c9846b745d
commit
fa4742e6ee
2 changed files with 7 additions and 3 deletions
2
boot.php
2
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDIKA_PLATFORM', 'Friendica');
|
define ( 'FRIENDIKA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDIKA_VERSION', '2.3.1167' );
|
define ( 'FRIENDIKA_VERSION', '2.3.1168' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1104 );
|
define ( 'DB_UPDATE_VERSION', 1104 );
|
||||||
|
|
||||||
|
|
|
@ -75,8 +75,6 @@ $a->timezone = (($default_timezone) ? $default_timezone : 'UTC');
|
||||||
|
|
||||||
date_default_timezone_set($a->timezone);
|
date_default_timezone_set($a->timezone);
|
||||||
|
|
||||||
$a->init_pagehead();
|
|
||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -95,6 +93,12 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) {
|
||||||
load_translation_table($lang);
|
load_translation_table($lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Create the page head after setting the language
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
$a->init_pagehead();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue