diff --git a/upload/config.php b/upload/config.php index 62ba2b5b1..a01bb6f7f 100644 --- a/upload/config.php +++ b/upload/config.php @@ -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' @@ -91,7 +90,7 @@ $bb_cfg['cache']['memcache'] = array( '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 ) @@ -105,7 +104,7 @@ $bb_cfg['cache']['engines'] = array( ); // 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( 'db_file_path' => $bb_cfg['cache']['db_dir'] . '/bb_datastore.sqlite.db', diff --git a/upload/includes/page_footer.php b/upload/includes/page_footer.php index 0d731c064..358e91562 100644 --- a/upload/includes/page_footer.php +++ b/upload/includes/page_footer.php @@ -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)) ? "$l[$i]" : $l[$i]; } - $stat .= "  |  {$bb_cfg['node_name']} [{$bb_cfg['node_addr']}]: $l[0] $l[1] $l[2]"; + $stat .= "  |  : $l[0] $l[1] $l[2]"; } $stat .= '  ]';