Небольшой косяк (имена нод не нужны). git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@43 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
glix08 2011-06-29 08:54:38 +00:00
commit 7e99aed102
2 changed files with 5 additions and 6 deletions

View file

@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1;
// Increase number of revision after update
$bb_cfg['tp_version'] = '2.0.2';
$bb_cfg['tp_release_state'] = 'TP II r41';
$bb_cfg['tp_release_state'] = 'TP II r43';
$bb_cfg['tp_release_date'] = '29-06-2011';
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
@ -67,8 +67,7 @@ $bb_cfg['srv_overloaded_msg'] = "Извините, в данный момент
$dbcharset = 'utf8';
$pconnect = defined('IN_CRON') ? false : false;
$bb_cfg['db']['db1'] = array( 'localhost', 'forum', 'user', 'pass', $dbcharset, $pconnect );
$bb_cfg['db']['db1'] = array('localhost', 'dbase', 'user', 'pass', $dbcharset, $pconnect);
$bb_cfg['db_alias'] = array(
// 'alias' => 'srv_name'

View file

@ -58,7 +58,7 @@ if ($show_dbg_info)
$l[$i] = round($l[$i], 1);
$l[$i] = (IS_ADMIN && $bb_cfg['max_srv_load'] && $l[$i] > ($bb_cfg['max_srv_load'] + 4)) ? "<span style='color: red'><b>$l[$i]</b></span>" : $l[$i];
}
$stat .= " &nbsp;|&nbsp; {$bb_cfg['node_name']} [{$bb_cfg['node_addr']}]<span title='ëèìèò: {$bb_cfg['max_srv_load']}'>: $l[0] $l[1] $l[2]</span>";
$stat .= " &nbsp;|&nbsp; <span title='ëèìèò: {$bb_cfg['max_srv_load']}'>: $l[0] $l[1] $l[2]</span>";
}
$stat .= ' &nbsp;]';