mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
r158
Исправления незначительных ошибок. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@158 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
82081ace8f
commit
7ebfc90092
2 changed files with 4 additions and 4 deletions
|
@ -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 r156';
|
||||
$bb_cfg['tp_release_state'] = 'TP II r158';
|
||||
$bb_cfg['tp_release_date'] = '26-07-2011';
|
||||
|
||||
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
|
||||
|
|
|
@ -1880,7 +1880,7 @@ function message_die ($msg_code, $msg_text = '', $msg_title = '', $err_line = ''
|
|||
{
|
||||
if (!empty($DBS) && $sql_store)
|
||||
{
|
||||
$sql_error = DB()->sql_error();
|
||||
$sql_error = $DBS->sql_error();
|
||||
$debug_text .= "<br /><br />SQL Error : {$sql_error['code']}<br /><br />{$sql_error['message']}";
|
||||
}
|
||||
if ($sql_store)
|
||||
|
@ -1988,7 +1988,7 @@ function phpbb_realpath($path)
|
|||
|
||||
function login_redirect ($url = '')
|
||||
{
|
||||
redirect('login.php' .'?redirect='. (($url) ? $url : $_SERVER['REQUEST_URI']));
|
||||
redirect('login.php?redirect='. (($url) ? $url : $_SERVER['REQUEST_URI']));
|
||||
}
|
||||
|
||||
function meta_refresh($url, $time = 5)
|
||||
|
@ -2461,7 +2461,7 @@ function print_page ($args, $type = '', $mode = '')
|
|||
|
||||
function caching_output ($enabled, $mode, $cache_var_name, $ttl = 300)
|
||||
{
|
||||
if (!$enabled || !CACHE('tr_cache')->used)
|
||||
if (!$enabled || !CACHE('bb_cache')->used)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue