фиксы

This commit is contained in:
PheRum 2015-05-13 05:16:39 +03:00
commit 340c3f099c
3 changed files with 5 additions and 2 deletions

View file

@ -11,6 +11,8 @@ $datastore->enqueue(array(
'moderators',
));
$log_action->init();
$per_page = 50;
$row_class_1 = 'row1';
$row_class_2 = 'row2';

View file

@ -28,7 +28,7 @@ class Log_Action
*/
public $log_disabled = false;
public function __construct()
public function init()
{
global $lang;

View file

@ -585,7 +585,7 @@ class Sessions
public function init_userprefs ()
{
global $bb_cfg, $theme;
global $bb_cfg, $theme, $lang;
if (defined('LANG_DIR'))
{
@ -621,6 +621,7 @@ class Sessions
setlocale(LC_ALL, $bb_cfg['lang'][$this->data['user_lang']]['locale']);
$theme = setup_style();
$DeltaTime = new Date_Delta();
// Handle marking posts read
if (!IS_GUEST && !empty($_COOKIE[COOKIE_MARK]))