mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r43
Небольшой косяк (имена нод не нужны). git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@43 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
bb15c30da7
commit
7e99aed102
2 changed files with 5 additions and 6 deletions
|
@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1;
|
||||||
|
|
||||||
// Increase number of revision after update
|
// Increase number of revision after update
|
||||||
$bb_cfg['tp_version'] = '2.0.2';
|
$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['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
|
$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';
|
$dbcharset = 'utf8';
|
||||||
$pconnect = defined('IN_CRON') ? false : false;
|
$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(
|
$bb_cfg['db_alias'] = array(
|
||||||
// 'alias' => 'srv_name'
|
// 'alias' => 'srv_name'
|
||||||
|
@ -91,7 +90,7 @@ $bb_cfg['cache']['memcache'] = array(
|
||||||
'ds_bb_core' => array('localhost:11211', false, false),
|
'ds_bb_core' => array('localhost:11211', false, false),
|
||||||
);
|
);
|
||||||
|
|
||||||
$bb_cfg['cache']['mc_class'] = 'memcache_common'; // memcache_common, memcached_common
|
$bb_cfg['cache']['mc_class'] = 'memcache_common'; // memcache_common, memcached_common
|
||||||
|
|
||||||
# name => array( (string) type, (array) cfg )
|
# name => array( (string) type, (array) cfg )
|
||||||
|
|
||||||
|
@ -105,7 +104,7 @@ $bb_cfg['cache']['engines'] = array(
|
||||||
);
|
);
|
||||||
|
|
||||||
// Datastore
|
// Datastore
|
||||||
$bb_cfg['datastore_type'] = 'filecache'; // Available datastore types: mysql, sqlite, memcache, filecache
|
$bb_cfg['datastore_type'] = 'filecache'; // Available datastore types: mysql, sqlite, memcache, filecache
|
||||||
|
|
||||||
$bb_cfg['datastore']['sqlite'] = array(
|
$bb_cfg['datastore']['sqlite'] = array(
|
||||||
'db_file_path' => $bb_cfg['cache']['db_dir'] . '/bb_datastore.sqlite.db',
|
'db_file_path' => $bb_cfg['cache']['db_dir'] . '/bb_datastore.sqlite.db',
|
||||||
|
|
|
@ -58,7 +58,7 @@ if ($show_dbg_info)
|
||||||
$l[$i] = round($l[$i], 1);
|
$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];
|
$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 .= " | {$bb_cfg['node_name']} [{$bb_cfg['node_addr']}]<span title='ëèìèò: {$bb_cfg['max_srv_load']}'>: $l[0] $l[1] $l[2]</span>";
|
$stat .= " | <span title='ëèìèò: {$bb_cfg['max_srv_load']}'>: $l[0] $l[1] $l[2]</span>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$stat .= ' ]';
|
$stat .= ' ]';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue