mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
фиксы
This commit is contained in:
parent
302470ea44
commit
340c3f099c
3 changed files with 5 additions and 2 deletions
|
@ -11,6 +11,8 @@ $datastore->enqueue(array(
|
|||
'moderators',
|
||||
));
|
||||
|
||||
$log_action->init();
|
||||
|
||||
$per_page = 50;
|
||||
$row_class_1 = 'row1';
|
||||
$row_class_2 = 'row2';
|
||||
|
|
|
@ -28,7 +28,7 @@ class Log_Action
|
|||
*/
|
||||
public $log_disabled = false;
|
||||
|
||||
public function __construct()
|
||||
public function init()
|
||||
{
|
||||
global $lang;
|
||||
|
||||
|
|
|
@ -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]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue