mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
r432
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@432 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
1b61eabf8e
commit
4e023a59ec
2 changed files with 4 additions and 3 deletions
|
@ -56,8 +56,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
||||||
|
|
||||||
// Increase number of revision after update
|
// Increase number of revision after update
|
||||||
$bb_cfg['tp_version'] = '2.5 Beta';
|
$bb_cfg['tp_version'] = '2.5 Beta';
|
||||||
$bb_cfg['tp_release_state'] = 'R431';
|
$bb_cfg['tp_release_state'] = 'R432';
|
||||||
$bb_cfg['tp_release_date'] = '05-06-2012';
|
$bb_cfg['tp_release_date'] = '06-06-2012';
|
||||||
|
|
||||||
// Database
|
// Database
|
||||||
$charset = 'utf8';
|
$charset = 'utf8';
|
||||||
|
|
|
@ -1863,6 +1863,7 @@ function obtain_word_list(&$orig_word, &$replacement_word)
|
||||||
if (!$sql = CACHE('bb_cache')->get('censored'))
|
if (!$sql = CACHE('bb_cache')->get('censored'))
|
||||||
{
|
{
|
||||||
$sql = DB()->fetch_rowset("SELECT word, replacement FROM ". BB_WORDS);
|
$sql = DB()->fetch_rowset("SELECT word, replacement FROM ". BB_WORDS);
|
||||||
|
if(!$sql) $sql = array(array('word' => 1, 'replacement' => 1));
|
||||||
CACHE('bb_cache')->set('censored', $sql, 7200);
|
CACHE('bb_cache')->set('censored', $sql, 7200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue