mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r593b
Исправление ошибки с сохранением настроек форума и настроек сидбонуса.
This commit is contained in:
parent
75183c965c
commit
2f7fa22ead
2 changed files with 4 additions and 4 deletions
|
@ -40,8 +40,8 @@ else
|
|||
|
||||
if (isset($_POST['submit']) && $row['config_value'] != $new[$config_name])
|
||||
{
|
||||
if ($config_name == ('seed_bonus_points' || 'seed_bonus_release' || 'bonus_upload' || 'bonus_upload_price')) $new[$config_name] = serialize(str_replace(',', '.', $new[$config_name]));
|
||||
bb_update_config(array($config_name => unserialize($new[$config_name])));
|
||||
if ($config_name == 'seed_bonus_points' || $config_name == 'seed_bonus_release' || $config_name == 'bonus_upload' || $config_name == 'bonus_upload_price') $new[$config_name] = serialize(str_replace(',', '.', $new[$config_name]));
|
||||
bb_update_config(array($config_name => $new[$config_name]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -68,8 +68,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Version info
|
||||
$bb_cfg['tp_version'] = '2.0.9 (RC)';
|
||||
$bb_cfg['tp_release_date'] = '04-08-2014';
|
||||
$bb_cfg['tp_release_state'] = 'R593';
|
||||
$bb_cfg['tp_release_date'] = '05-08-2014';
|
||||
$bb_cfg['tp_release_state'] = 'R593b';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue