mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Bug with variables replacement and Crowdin localization fix.
This commit is contained in:
parent
8bf313d474
commit
b73d4cf490
169 changed files with 337 additions and 338 deletions
|
@ -76,7 +76,7 @@ switch ($mode) {
|
|||
}
|
||||
}
|
||||
// Отключение регистрации
|
||||
if ($bb_cfg['new_user_reg_disabled'] || ($bb_cfg['reg_email_activation'] && $bb_cfg['emailer_disabled'])) {
|
||||
if ($bb_cfg['new_user_reg_disabled'] || ($bb_cfg['reg_email_activation'] && !$bb_cfg['emailer']['enabled'])) {
|
||||
bb_die($lang['NEW_USER_REG_DISABLED']);
|
||||
} // Ограничение по времени
|
||||
elseif ($bb_cfg['new_user_reg_restricted']) {
|
||||
|
|
|
@ -29,7 +29,7 @@ if (!defined('IN_FORUM')) {
|
|||
|
||||
set_die_append_msg();
|
||||
|
||||
if ($bb_cfg['emailer_disabled']) {
|
||||
if (!$bb_cfg['emailer']['enabled']) {
|
||||
bb_die($lang['EMAILER_DISABLED']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue